HikaShop Cart Module displays home page

  • Posts: 55
  • Thank you received: 3
10 years 9 months ago #144000

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : 2.2.3
-- Joomla version -- : 3.2.2
-- PHP version -- : 5.3.21
-- Browser(s) name and version -- : firefox 27.0
-- Error-message(debug-mod must be tuned on) -- : Error_message

When a product is added to the cart, the home page of the site is displayed in the cart module; and correct content of the module only shows when I navigate to another page.

Adding more products to the cart repeats the behaviour.

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

  • Posts: 12953
  • Thank you received: 1778
10 years 9 months ago #144008

Hi,
I didn't understood your issue, can you give me more information about it by showing me for example some screenshots of it and give me a link to the page where your issue is.

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

  • Posts: 55
  • Thank you received: 3
10 years 9 months ago #144144
Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
10 years 9 months ago #144364

Ok,
So you'll probably find your answer through this thread :

To correct it, you have to edit the file "components/com_hikashop/controllers/product.php" function "updatecart()" and replace:
if($params->get('from','module') == 'module'){
By:
if($params->get('from','module') == 'module' && $config->get('redirect_url_after_add_cart','stay_if_cart') != 'checkout'){
Or wait for the next package.

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

  • Posts: 55
  • Thank you received: 3
10 years 9 months ago #144531

yes certainly better, as the module now loads properly
however, it now redirects directly to the checkout on reload when an item is added, instead of staying on the same page for the viewer to be able to add more items

Ian

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

  • Posts: 12953
  • Thank you received: 1778
10 years 9 months ago #144538

Ok, and can you download the last HIkashop version through our website (2.3.0), install it and test it again ?
Thanks.

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

  • Posts: 55
  • Thank you received: 3
10 years 9 months ago #144694

same issue still exists after update
on adding to cart, the page reloads on the checkout page instead of staying on the product page to add more products

new issue; when deleting products from the shopping cart module, page reloads as a blank white page with just this text at the top
URL|/Products-listing/checkout.html

on this url generated by sh404sef
www.amothersart.com.au/Products-listing/product/updatecart.html

Ian

Last edit: 10 years 9 months ago by netpastor.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 9 months ago #145701

Hi,

I just tried on my end and it seems to be working fine (my local).
Do you had edited any views related on the cart ?

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

  • Posts: 55
  • Thank you received: 3
10 years 8 months ago #148487

issue resolved by changing the behaviour to stay on the same page when a product is added to the cart

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

Time to create page: 0.088 seconds
Powered by Kunena Forum