Skip to main content

Add to Cart Popup URL

More
11 years 4 months ago #202068 by Ed_Hika
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.8.1

Hello, there.

Good evening!

After the following sequence of steps:
1) Add product to cart
2) The add to cart popup appears showing the "Continue Shopping" and "Checkout" buttons
3) Click on "Continue Shopping" or let the popup disappear after the popup times out
4) The SEF URL is appended with "?popup=1". How can this be get rid of when the "Continue Shopping" button is clicked or when the popup times out?

For example, let's say the http://<domain name>.com/en/products/ displays all the products in the shop. When the user clicks on the add to cart button, the URL then shows http://<domain name>.com//en/products?popup=1 and continues to show this when the popup is closed (either through clicking on "Continue Shopping" or timing out).

Please could you let me know how to fix this? The URL should continue to be as the previous URL (i.e. without the "?popup=1").

Thanks.

Take care!

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

More
11 years 4 months ago #202073 by Xavier
Replied by Xavier on topic Add to Cart Popup URL
Hi,

This will require a redirection, so page reload.
You can potentially edit the view "checkout / notice" in order to add javascript in the "setTimeout()" function and on the "continue shopping" buttons to get the current url, remove the undesired part and do a window.location on the correct url.

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

Time to create page: 0.162 seconds
Powered by Kunena Forum