Skip to main content

Show Vendor's Terms and conditions on product details page

More
6 years 4 months ago #319751 by liaskas
-- HikaShop version -- : 4.3.0
-- HikaMarket version -- : 3.0.3
-- Joomla version -- : 3.9.18
-- PHP version -- : 7.2.30

Hello

How can we show the Vendor's Terms and Conditions on his own products details pages so that the buyer is not forced to add the product to cart and go to the checkout page to see the Vendors terms?

Thank you in advance for your reply

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

More
6 years 4 months ago #319758 by Jerome
Hello,

It requires a view override in order to add the display of the vendor terms.
Some other threads talked about the same subject :
www.hikashop.com/forum/23-market-how-to/...erms-in-product.html
www.hikashop.com/forum/install-update/86...terms-condition.html

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.

More
6 years 4 months ago #319773 by liaskas
Thank you for your reply.

i entered the following...
echo $this->element->vendor->vendor_terms;
in product / show.php view file.

The therms show fine inside the product details page, but the page now shows the following error:

function hikashop_product_form_check() { var d = document, el = d.getElementById('hikashop_product_quantity_main'); if(!el) return true; var inputs = el.getElementsByTagName('input'); if(inputs && inputs.length > 0) return true; var links = el.getElementsByTagName('a'); if(links && links.length > 0) return true; return false; }

Can you please advise?

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

More
6 years 4 months ago #319797 by liaskas
This was not an issue with the components!
Our firewall changes "<script" to "<s-cript" and this was causing the problem.
Wrong Alert! Sorry!
You can mark this thread as [SOLVED].
The following user(s) said Thank You: Jerome

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

Moderators: Obsidev
Time to create page: 0.151 seconds
Powered by Kunena Forum