Post by wizvs » Thu Mar 07, 2013 6:34 pm

I am rather new to opencart. I installed spicylicious and everything is working fine but the on hover function of the shopping cart which displays the current cart products ??? It just says text_cart and text_items!

Please HELP!

Thanks in adv

Newbie

Posts

Joined
Thu Mar 07, 2013 6:30 pm

Post by mcamca » Sun Mar 10, 2013 2:01 am

Have a look in the language file at:
catalog/language/english/module/cart.php

Make sure that it reads as follows:

Code: Select all

<?php
// Heading 
$_['heading_title'] = 'Shopping Cart';

// Text
$_['text_items']    = '%s item(s) - %s';
$_['text_empty']    = 'Your shopping cart is empty!';
$_['text_cart']     = 'View Cart';
$_['text_checkout'] = 'Checkout';
?>
And does not contain erroneous $ signs as follows:

Code: Select all

<?php
// Heading 
$_['heading_title'] = 'Shopping Cart';

// Text
$_['$text_items']    = '%s item(s) - %s';
$_['text_empty']    = 'Your shopping cart is empty!';
$_['$text_cart']     = 'View Cart';
$_['text_checkout'] = 'Checkout';
?>
This would cause text_cart and text_items to display instead of the correct language file text.

If this is not the case then a similar thing exists in the controller file: cart.php

Active Member

Posts

Joined
Fri Aug 06, 2010 5:57 pm
Who is online

Users browsing this forum: No registered users and 26 guests