Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

cart update not working
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: cart update not working

cart update not working 5 years, 5 months ago #38904

Hello
on my website the quantity selector does not work
if the customer increases the quantity the system does not update
can you help me understand what is not working?
thank you
Daniela

Re: cart update not working 5 years, 5 months ago #38908

Dear PRISCO

please go to \module\mod_sj_minicart_pro\mod_sj_minicart_pro.php

and find:

$cart->ajaxurl = strtolower(substr($_SERVER["SERVER_PROTOCOL"], 0, 5)) == 'https://' ? 'https://' : 'http://';

=> change to

$cart->ajaxurl = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on')?'https://' : 'http://';

thanks

Re: cart update not working 5 years, 5 months ago #38931

Thanks for your answer.
I opened the file and the code was already:

$cart->ajaxurl = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on')?'https://' : 'http://';


What can I do to solve the problem?

thank you very much for your support

daniela

Re: cart update not working 5 years, 5 months ago #38934

Dear PRISCO

I checked it works normally after click update button prntscr.com/nxbyx0 prntscr.com/nxbz95

thanks
  • Page:
  • 1
Time to create page: 0.23 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes