1999 Posts in 530 Topics by 433 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » EProducts module
Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.
Moderators: martimiz, Nicolaas, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 484 Views |
-
EProducts module

14 April 2011 at 3:06pm Last edited: 14 April 2011 3:41pm
I'm working on an EProducts module so people can sell E-Books and mp3s etc as per here
using this codebase
svn checkout http://silverstripe-ecommerce.googlecode.com/svn/trunk/ silverstripe-ecommerce-read-only
svn checkout http://svn.silverstripe.com/open/modules/payment/tags/0.3.02 things:
1.
When adding a product to a cart in
Director::set_environment_type("dev");
mode I get an Notice error on line 256 of Shoppingcart.php saying $status is an undefined variable - just set it to null and the error goes away
if($className = Session::get(self::get_shopping_cart_message_index().".Status", $status)) {
2.
How can I find the Products in from a particular Order?
I think it's got something to do with the OrderAttribute table which says which type of Products were in the Order but not exactly which ProductID
I thought OrderItem might be a clue but that just has a BuyableID which I think is the ProductID but no reference to the Order (that I can tell)
cheers
HaydnIf you stare at something long enough till come to you
Order.ID = OrderAttribute.OrderID and OrderAttribute.ID = OrderItem.ID and OrderItem.BuyableID = Product.ID
| 484 Views | ||
|
Page:
1
|
Go to Top |

