https://www.swkgumussuyu.com/index.php? ... uct_id=295
normally there is no problem but after i update price for example 800 to 1000, when i click add to cart, it doesnt work and shows a pop-up "there is no product in your cart".
I searched but couldnt find a solution. Could you please help me?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
for this product: https://www.swkgumussuyu.com/kolloidal- ... pm-1000-mlpaulfeakins wrote: ↑Tue Dec 12, 2023 8:20 pmI can see in your code that the JavaScript function that should be just "add()" has been renamed to "add_to_cart_func()" so you must have installed an extension that has broken this.
there is no problem
Do you see same problem in here?
Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home/swkgumus/public_html/catalog/model/extension/total/promotion_total.php on line 1260
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
I migrated this website and i dont know if this exist before. And i have not so much knowledge about opencart. But problem is not that thing. Problem is when i update price to 4 digits( for example 1000 tl) nobody can add to cart. Problem stil exists.IP_CAM wrote: ↑Tue Dec 12, 2023 10:30 pmhttps://www.swkgumussuyu.com/kolloidal- ... pm-1000-ml
Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home/swkgumus/public_html/catalog/model/extension/total/promotion_total.php on line 1260
they should possibly be quoted this way - - 2727.30
to function as planned. Just a wild guess

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
In the JavaScript on the page you have the following which will cause an error as you can't have two decimal points in a number.
Code: Select all
price: 1.735.00,
View all extensions | Request custom work | Pricing | Contact Me
I set it 1 decimal point but problem still exist.ADD Creative wrote: ↑Wed Dec 13, 2023 9:01 amLooks like your ecommerce analytics extension does not handle your number format correctly.
In the JavaScript on the page you have the following which will cause an error as you can't have two decimal points in a number.Code: Select all
price: 1.735.00,
i changed it. Only add function left in settings but problem still exist.paulfeakins wrote: ↑Tue Dec 12, 2023 8:20 pmI can see in your code that the JavaScript function that should be just "add()" has been renamed to "add_to_cart_func()" so you must have installed an extension that has broken this.
how can i do this?
But this problem still exists:
Code: Select all
Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home/swkgumus/public_html/catalog/model/extension/total/promotion_total.php on line 1260

Attachments
decimal_value.png (10.43 KiB) Viewed 2334 times
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Code: Select all
$promotion_name = isset($general_settings['name'][$this->config->get('config_language')]) ? $general_settings['name'][$this->config->get('config_language')] : is_array($general_settings['name']) ? end($general_settings['name']) : '';
but which extension broke it idk. İ am new to opencart. Some users bought with that price but when i try to add to cart still have that problem
Users browsing this forum: Amazon [Bot] and 10 guests