Move Continue Shopping Code & Go Back To Last Page

  • Posts: 964
  • Thank you received: 11
  • Hikashop Business
11 years 10 months ago #83712

1) I would like to move the "Continue Shopping" code to the same view as the Coupon but I don't know what block of code to move. Can you please advise?

2) I would also like the "Continue Shopping" button to go back to the last page that the customer was viewing, can you also advise how this can be done?

Thanks in advance and I hope you guys are having a great holiday season!!

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

  • Posts: 82817
  • Thank you received: 13360
  • MODERATOR
11 years 10 months ago #84008

You can empty the "continue shopping URL" option of the configuration and instead simply add a go back button in the "coupon" file of the view "checkout" via the menu Display->Views:
<a href="javascript:history.back()">Continue Shopping</a>

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

  • Posts: 964
  • Thank you received: 11
  • Hikashop Business
11 years 10 months ago #84191

BIG thanks!!

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

  • Posts: 964
  • Thank you received: 11
  • Hikashop Business
11 years 10 months ago #84193

Ooops sorry I replied too quickly.

I would like the "Continue Shopping" link to go back to the last category the user was viewing not the last item that they were viewing. It wouldn't make sense that they go back to the same item that the just added to the cart.

Thanks!!

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 10 months ago #84206

Hi,

It would be quite difficult to get the last category seen by the customer.
It's not something which could be done thanks to a simple PHP line. It would required several modifications in different views in order to store the last accessed category and create the right link for the "continue shopping".

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.063 seconds
Powered by Kunena Forum