return to product page from the cart level

  • Posts: 141
  • Thank you received: 3
5 years 5 months ago #311153

-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.8
-- PHP version -- : 7.2.14

Hello, In the cart (show_block_cart.php) there is a link with product name_variant name_product code which allows clients to see details of selected product but when you click on this link you go to the product page with a default value of the variant and not with a variant name which was chosen to the cart. Is it possible to open product page using this link with proper product variant ? Obviously because of difference in prices between variants and other differences in descriptions client will be confused when will see product default parameters instead of product in option selected by the client.

Regards,
Greg

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

  • Posts: 83411
  • Thank you received: 13503
  • MODERATOR
5 years 5 months ago #311159

Hi,

That's not the case by default. It's only the case if you have a canonical URL in your product and you've activated the "force canonical URL on listings". In that case, all the links to the product page in HikaShop use the canonical URL, including this one.
And it's also possible without a canonical URL if you have turned off adding the ids to the URLs as the system relies on the id in the URL to know which variant to preselect when coming from the cart.

The following user(s) said Thank You: Greg_C

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

  • Posts: 141
  • Thank you received: 3
5 years 5 months ago #311186

Hi Nicolas, Thank you for the clarification. I had “Remove products and categories id in URLs" set as YES, and “Force canonical URLs on listings” set as "No, generate the URLs". When I changed “Remove products and categories id in URLs" to NO, the link from the cart is opening proper product’s variant.

Regards,
Greg

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

Time to create page: 0.055 seconds
Powered by Kunena Forum