- Posts: 138
- Thank you received: 4
how to change add to cart link per product?
10 years 11 months ago - 10 years 11 months ago #219038
by aminweb
Joomla Developer | am.ebrahimzadeh[at]gmail.com
how to change add to cart link per product? was created by aminweb
-- HikaShop version -- : 2.4
-- Joomla version -- : 3
hi,
How can I change link Add to cart for each product ?
for example:
product 1: click on add to cart button -->go--> www.site.com/1.html (this link external)
product 2: click on add to cart button -->go--> www.site.com/2.html (this link external)
please help me
thnx
-- Joomla version -- : 3
hi,
How can I change link Add to cart for each product ?
for example:
product 1: click on add to cart button -->go--> www.site.com/1.html (this link external)
product 2: click on add to cart button -->go--> www.site.com/2.html (this link external)
please help me
thnx
Joomla Developer | am.ebrahimzadeh[at]gmail.com
Last edit: 10 years 11 months ago by aminweb.
Please Log in or Create an account to join the conversation.
10 years 11 months ago #219044
by aminweb
Joomla Developer | am.ebrahimzadeh[at]gmail.com
Replied by aminweb on topic how to change add to cart link per product?
or
how add php code to show link for per products
i use this code but dont work
please help
how add php code to show link for per products
i use this code but dont work
Code:
<?php if($this->params->get('product_id') == 1) { ?>
<a href="http://mywebsite.com/link/to/all/products/page/for/module/with/id/XXX">all projducts</a>
<?php } ?>
please help
Joomla Developer | am.ebrahimzadeh[at]gmail.com
Please Log in or Create an account to join the conversation.
10 years 11 months ago #219046
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic how to change add to cart link per product?
Hi,
So you actually want to deactivate the add to cart button and instead create a custom field of the table "product" via the menu " Display > Custom fields" in order to enter your button link HTML code in each product.
Regards,
So you actually want to deactivate the add to cart button and instead create a custom field of the table "product" via the menu " Display > Custom fields" in order to enter your button link HTML code in each product.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.182 seconds