Skip to main content

Added to cart message in joomla message area

More
11 years 8 months ago #189637 by dda
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.2.4
-- PHP version -- : 5.4.32
-- Browser(s) name and version -- : Opera 27

Is it possible to get hikashop to show a message that says a person added something to their cart in the joomla <jdoc:include type="message" /> area? Or in some area of a template by some other means?

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #189643 by lousyfool
Of course!

Not familiar with the optional popup after a product was added to the cart? It can be activated and configured in the main system configuration. And it's documented here: hikashop.com/support/support/documentati...onfig.html#main_cart

Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #189647 by dda
Yes I am but I don't see how to get the message displayed in the message area of my index.php.

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #189651 by Xavier
Hi,

You can potentially edit/override the file "components/com_hikashop/controllers/product.php" and in the function "updatecart()" add code like:
Code:
$app->enqueueMessage(JText::_('PRODUCT_SUCCESSFULLY_ADDED_TO_CART'));
After, for example:
Code:
$params = new HikaParameter( @$module->params );

You have to disable the "Ajax add to cart" option if enabled, else it will not work as expected.

Please Log in or Create an account to join the conversation.

Time to create page: 0.240 seconds
Powered by Kunena Forum