The e-commerce module is not showing the product title in sidebar shopping cart and also not in checkout -
http://www.chillweb.eu/htc/tooted/
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
E-Commerce Modules /
Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.
Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba
Not Showing productname
To add product name to the checkout edit file:
ecommerce\code\Order.php
after:
} else if(is_object($product)) {
parent::__construct();
$this->product = $product;
$this->failover = $product;
$this->ProductID = $product->ID;
$this->UnitPrice = $product->Price;
$this->ProductVersion = $product->Version;
$this->quantity = $quantity;
add:
$this->Title = $product->Title;
The ecommerce module is changing a lot, thus you need to be careful when using templates from older themes, which probably means here from all themes.
Better copy the templates where you have missing parts from the ecommerce module you're using to your theme's ecommerce part, overwriting the ones of the theme, and go from there. In most cases that should be enough to have the missing product names re-appear (worked with ecommerce trunk and the Vista theme for me).