- Posts: 138
- Thank you received: 4
how to displayed "all product" link in products md
11 years 1 month ago #213073
by aminweb
Joomla Developer | am.ebrahimzadeh[at]gmail.com
how to displayed "all product" link in products md was created by aminweb
-- url of the page with the problem -- : localhost
-- HikaShop version -- : busines
-- Joomla version -- : 3
-- PHP version -- : 5
hi
please help me,
i want displayed "all products" link in products module,
for example:
i set latest products module to show 10count product ,but we have 30 products in categories
I want one linke named"all products" in top position module when click on go to categories and show all of 30 products
-- HikaShop version -- : busines
-- Joomla version -- : 3
-- PHP version -- : 5
hi
please help me,
i want displayed "all products" link in products module,
for example:
i set latest products module to show 10count product ,but we have 30 products in categories
I want one linke named"all products" in top position module when click on go to categories and show all of 30 products
Joomla Developer | am.ebrahimzadeh[at]gmail.com
Please Log in or Create an account to join the conversation.
11 years 1 month ago #213076
by nicolas
Replied by nicolas on topic how to displayed "all product" link in products md
Hi,
You can edit the file "listing" of the view "product" via the menu Display>Views and add custom HTML code there near the top:
You'll probably want to add PHP code around it so as to only display that link in some cases and not on all the products listings.
You can edit the file "listing" of the view "product" via the menu Display>Views and add custom HTML code there near the top:
Code:
<a href="http://mywebsite.com/link/to/all/products/page">all products</a>
Please Log in or Create an account to join the conversation.
11 years 2 weeks ago #214675
by aminweb
Joomla Developer | am.ebrahimzadeh[at]gmail.com
Replied by aminweb on topic how to displayed "all product" link in products md
thnx
but this code for all module similar link
for ex: i have 2 module for displaye product categories
>1-tablet 2-pc
i want all product link in per module different link to all product url
but this code for all module similar link
for ex: i have 2 module for displaye product categories
>1-tablet 2-pc
i want all product link in per module different link to all product url
Joomla Developer | am.ebrahimzadeh[at]gmail.com
Please Log in or Create an account to join the conversation.
11 years 2 weeks ago #214699
by nicolas
Replied by nicolas on topic how to displayed "all product" link in products md
Hi,
Then adapt the code:
Then adapt the code:
Code:
<?php if($this->params->get('id') == XXX){ ?>
<a href="http://mywebsite.com/link/to/all/products/page/for/module/with/id/XXX">all products</a>
<?php }elseif($this->params->get('id') == YYY){ ?>
<a href="http://mywebsite.com/link/to/all/products/page/for/module/with/id/YYY">all products</a>
<?php } ?>
The following user(s) said Thank You: aminweb
Please Log in or Create an account to join the conversation.
Time to create page: 0.206 seconds