- Posts: 57
- Thank you received: 5
Delete product from cart 404 error
12 years 6 months ago #148849
by Hristov
Delete product from cart 404 error was created by Hristov
-- url of the page with the problem -- :
paiter.nl
-- HikaShop version -- :2.3.0
-- Joomla version -- : 3.2.2
-- PHP version -- : 5.3.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message
Hello,
When a product is deleted from the mini cart the redirect results in a 404 error.
Joomla sef is turned on, issue not present when off.
Caching is turned off and all joomla and browser cache has been deleted.
Link when cart is empty is currently blank, however no effect with either absolute or relative url.
Force menu on checkout is set to "cart" (Site loads originally in NL language. Switching it to EN produces the same 404 error)
Live site variable in configuration.php = " ".
Issue not present when you add a product->checkout->remove product.
Kind regards,
Drago.
-- HikaShop version -- :2.3.0
-- Joomla version -- : 3.2.2
-- PHP version -- : 5.3.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message
Hello,
When a product is deleted from the mini cart the redirect results in a 404 error.
Joomla sef is turned on, issue not present when off.
Caching is turned off and all joomla and browser cache has been deleted.
Link when cart is empty is currently blank, however no effect with either absolute or relative url.
Force menu on checkout is set to "cart" (Site loads originally in NL language. Switching it to EN produces the same 404 error)
Live site variable in configuration.php = " ".
Issue not present when you add a product->checkout->remove product.
Kind regards,
Drago.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 6 months ago #148906
by Mohamed Thelji
Replied by Mohamed Thelji on topic Delete product from cart 404 error
Hello Drago,
Can you show me some screenshots of how did you configured your Hikashop cart module ?
Can you show me some screenshots of how did you configured your Hikashop cart module ?
Please Log in or Create an account to join the conversation.
12 years 6 months ago #148914
by Hristov
Replied by Hristov on topic Delete product from cart 404 error
Hi Mohamed,
Here are the requested screenshots.
Should I set up an admin and ftp account and pm you the details?
Kind regards,
Drago.
Here are the requested screenshots.
Should I set up an admin and ftp account and pm you the details?
Kind regards,
Drago.
Please Log in or Create an account to join the conversation.
12 years 6 months ago #148937
by nicolas
Replied by nicolas on topic Delete product from cart 404 error
Hi,
Can you try to turn off the "Use AJAX when possible for add to cart buttons" option of the configuration ? That should fix the problem.
Can you try to turn off the "Use AJAX when possible for add to cart buttons" option of the configuration ? That should fix the problem.
Please Log in or Create an account to join the conversation.
12 years 6 months ago #149407
by Hristov
Replied by Hristov on topic Delete product from cart 404 error
Hi Nicolas,
Switching off "ajax when possible" indeed solved the 404 error.
However, my client does not like the page refresh, and wants it to work with ajax.
What are my options?
Switching off "ajax when possible" indeed solved the 404 error.
However, my client does not like the page refresh, and wants it to work with ajax.
What are my options?
Please Log in or Create an account to join the conversation.
12 years 6 months ago #149526
by nicolas
Replied by nicolas on topic Delete product from cart 404 error
Hi,
Change the line:
to:
in the file "cart" of the view "product" and that should help.
Change the line:
Code:
<a class="hikashop_small_cart_clean_link" href="<?php echo $delete.'return_url='. urlencode(base64_encode(hikashop_currentURL('url',false))); ?>" >
Code:
<a class="hikashop_small_cart_clean_link" href="<?php echo $delete.'return_url='; ?>" onclick="this.href+=window.btoa(window.location.href);">
Please Log in or Create an account to join the conversation.
12 years 6 months ago - 12 years 6 months ago #149729
by Hristov
Replied by Hristov on topic Delete product from cart 404 error
Hello again,
Just to confirm that it works. Thanks a lot Nicolas.
Just to confirm that it works. Thanks a lot Nicolas.
Last edit: 12 years 6 months ago by Hristov.
Please Log in or Create an account to join the conversation.
Time to create page: 0.201 seconds