Terms and Conditions By Product

  • Posts: 112
  • Thank you received: 3
10 years 2 months ago #193451

-- HikaShop version -- : 2.3.5

There are times when it is critical to have the terms and conditions actually displayed during the checkout process and have the customer accept them prior to checkout. Primarily, the type of product requiring this validation is autoship/subscription orders when the customer is agreeing to receive a product on a timely basis for a price.

Does Hikashop have this sort of T&C by product?

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

  • Posts: 13201
  • Thank you received: 2322
10 years 2 months ago #193466

Hi,

You can create a custom field for that.

A custom item field with the type "checkbox", and required, then add only one value, something like: "PRODUCT_T_C".
Then in the product edition page, fill the url of the desired article for the terms and conditions, add a translation override like:

PRODUCT_T_C="<a href='%s'>Terms and conditions for this product.</a>"

Create too another custom field, a product field this time, to specify a different link for each products.
You can name it for example, "tclink".

Finally do a view override on the view "product / show_block_custom_item" and if "$oneExtraField->field_namekey" is equal to your custom field namekey, so replace the text by "JTex::sprintf('PRODUCT_T_C',$this->elements->tclink);"

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

Time to create page: 0.072 seconds
Powered by Kunena Forum