Unique URL per item

  • Posts: 279
  • Thank you received: 1
8 years 8 months ago #233539

-- url of the page with the problem -- : www.digitalguarddawg.com/component/hikashop/checkout?Itemid=129
-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8

The client wants to promote a special upgrade Fob for 2 items only. I thought I'd cracked it by having the popup open when they checked out after adding the iKey or iKey RS to the cart. However, because the checkout URL is exactly the same no matter what is entered, this triggers every time, not just on the ones we want.

Is there something in Hikashop that can accomplish it?

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 8 months ago #233552

Hi,

No, it's actually better to always have the same URL for the checkout, no matter what product you've added.
If you need to add some special text based on the products in the cart, you can add custom code in one of the views of the checkout, loop through the products in the cart and check the product_code of the products in the cart so that you only display the text when needed.

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

  • Posts: 279
  • Thank you received: 1
8 years 8 months ago #233605

Hi Nicolas

Thanks for the reply. Is there some built in scripting in HS or will I need to custom code this?

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 8 months ago #233614

Hi,

It will require custom code for this.

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

Time to create page: 0.062 seconds
Powered by Kunena Forum