Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

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, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Not Showing productname


Reply


3 Posts   1067 Views

Avatar
Webdoc

Community Member, 334 Posts

17 April 2009 at 3:49am

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/

Avatar
adamg

Community Member, 1 Post

18 April 2009 at 1:04pm

Edited: 18/04/2009 1:07pm

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;

Avatar
Kalileo

Community Member, 127 Posts

22 April 2009 at 1:33am

Edited: 22/04/2009 1:37am

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).