- Posts: 127
- Thank you received: 1
Add to cart popup not displaying
- mikehermary
-
Topic Author
- Offline
Less
More
6 years 6 months ago #316879
by mikehermary
Add to cart popup not displaying was created by mikehermary
-- HikaShop version -- : 4.2.3
-- Joomla version -- : 3.9.16
-- PHP version -- : 7.3.9
-- Browser(s) name and version -- : Firefox and Chrome
-- Error-message(debug-mod must be tuned on) -- : Browser console log: ReferenceError: hikashopModifyQuantity is not defined
Hello,
When clicking/tapping the "add to cart" button on the product listings or single product pages, the item is added to the cart, but the popup does not display. The pages refreshes and the URL changes to /book-store/action-training?popup=1 or /book-store/action-training/product/advanced-steel-dvd?popup=1 depending on the view. The console log in the browser displays this error: ReferenceError: hikashopModifyQuantity is not defined.
I have tried the various "Popup" modes in the HikaShop configuration and have also adjusted the "Add to cart notification" plugin settings, but nothing is working.
Any ideas on why this is happening?
Cheers,
-- Joomla version -- : 3.9.16
-- PHP version -- : 7.3.9
-- Browser(s) name and version -- : Firefox and Chrome
-- Error-message(debug-mod must be tuned on) -- : Browser console log: ReferenceError: hikashopModifyQuantity is not defined
Hello,
When clicking/tapping the "add to cart" button on the product listings or single product pages, the item is added to the cart, but the popup does not display. The pages refreshes and the URL changes to /book-store/action-training?popup=1 or /book-store/action-training/product/advanced-steel-dvd?popup=1 depending on the view. The console log in the browser displays this error: ReferenceError: hikashopModifyQuantity is not defined.
I have tried the various "Popup" modes in the HikaShop configuration and have also adjusted the "Add to cart notification" plugin settings, but nothing is working.
Any ideas on why this is happening?
Cheers,
Please Log in or Create an account to join the conversation.
6 years 6 months ago #316883
by nicolas
Replied by nicolas on topic Add to cart popup not displaying
Hi,
You're using the legacy add to cart system.
Turn off the add to cart legacy setting of the HikaShop configuration and it should work better.
You're using the legacy add to cart system.
Turn off the add to cart legacy setting of the HikaShop configuration and it should work better.
Please Log in or Create an account to join the conversation.
- mikehermary
-
Topic Author
- Offline
Less
More
- Posts: 127
- Thank you received: 1
6 years 6 months ago #316884
by mikehermary
Replied by mikehermary on topic Add to cart popup not displaying
Hello Nicolas,
Under Configuration > Legacy Settings, “Add to cart legacy” is set to “No”. I would assume this means that it is disabled. Would a template override from a previous version of HikaShop be conflicting with the pop up functionality?
Cheers,
Under Configuration > Legacy Settings, “Add to cart legacy” is set to “No”. I would assume this means that it is disabled. Would a template override from a previous version of HikaShop be conflicting with the pop up functionality?
Cheers,
Please Log in or Create an account to join the conversation.
6 years 6 months ago - 6 years 6 months ago #316887
by Philip
Replied by Philip on topic Add to cart popup not displaying
Hello,
Yes it's possible, to check this you can switch for a default template like ProtoStar to see if that solve your issue.
But take care that you haven't yourself create an override from old HikaShop views.
To check this, from HikaShop Main Configuration, go to Display dropdown => Views
If you see a little trash icon, try to keep this custom view on your side (in order to don't loose your custom code), and try to remove this override view, to see if that solve your issue (with your current template).
Hope this will help you.
Regards
Yes it's possible, to check this you can switch for a default template like ProtoStar to see if that solve your issue.
But take care that you haven't yourself create an override from old HikaShop views.
To check this, from HikaShop Main Configuration, go to Display dropdown => Views
If you see a little trash icon, try to keep this custom view on your side (in order to don't loose your custom code), and try to remove this override view, to see if that solve your issue (with your current template).
Hope this will help you.
Regards
Last edit: 6 years 6 months ago by Philip.
Please Log in or Create an account to join the conversation.
- mikehermary
-
Topic Author
- Offline
Less
More
- Posts: 127
- Thank you received: 1
6 years 5 months ago #316994
by mikehermary
Replied by mikehermary on topic Add to cart popup not displaying
Hello,
Thanks for the reply.
What is the name of the file that controls the "added to cart" modal message?
Cheers,
Thanks for the reply.
What is the name of the file that controls the "added to cart" modal message?
Cheers,
Please Log in or Create an account to join the conversation.
6 years 5 months ago #317002
by nicolas
Replied by nicolas on topic Add to cart popup not displaying
Hi,
It depends what part you want to change.
If it's just the text you want to change, you can use translation overrides:
www.hikashop.com/download/languages.html#modify
If it's the look, then you can add CSS code on your website:
www.hikashop.com/support/documentation/1...ize-the-display.html
If it's the behavior (how long it appears, should there be a redirect to the checkout), then you can find settings to control that in the HikaShop cart notification plugin via the Joomla plugins manager.
If it's something else, then you might have to change the file plugins/hikashop/cartnotify/cartnotify.php or another file which controls the way the modal displays.
It depends what part you want to change.
If it's just the text you want to change, you can use translation overrides:
www.hikashop.com/download/languages.html#modify
If it's the look, then you can add CSS code on your website:
www.hikashop.com/support/documentation/1...ize-the-display.html
If it's the behavior (how long it appears, should there be a redirect to the checkout), then you can find settings to control that in the HikaShop cart notification plugin via the Joomla plugins manager.
If it's something else, then you might have to change the file plugins/hikashop/cartnotify/cartnotify.php or another file which controls the way the modal displays.
Please Log in or Create an account to join the conversation.
- mikehermary
-
Topic Author
- Offline
Less
More
- Posts: 127
- Thank you received: 1
6 years 5 months ago #317023
by mikehermary
Replied by mikehermary on topic Add to cart popup not displaying
Hello Nicolas,
Thanks for the information. I will look into the cartnotifiy file and see what I find.
Much appreciated.
Cheers,
Thanks for the information. I will look into the cartnotifiy file and see what I find.
Much appreciated.
Cheers,
Please Log in or Create an account to join the conversation.
Time to create page: 0.237 seconds