- Posts: 25
- Thank you received: 0
Variants in Product listing
15 years 5 months ago #13928
by hoken30
Variants in Product listing was created by hoken30
Hi, I would like to add the variants dropdown to the product listing page - currently users have to click on 'choose options', are taken to the product page, then they see the dropdown. I haven't been able to locate the code that controls this, please advise!
Please Log in or Create an account to join the conversation.
15 years 5 months ago #13939
by nicolas
Replied by nicolas on topic Re: Variants in Product listing
There is no options for that. If you want to do it, you will have a lot of work:
1. You need to take some code from the file components/com_hikashop/views/product/view.html.php to load the data of the variants/characteristics in the listing and not only in the show.
2. You need to take some code from the file components/com_hikashop/views/product/tmpl/show.php to display the characteristics dropdown
3. You need to add all that in one of the listing_ files of the view product (it depends how you want to structure your code).
1. You need to take some code from the file components/com_hikashop/views/product/view.html.php to load the data of the variants/characteristics in the listing and not only in the show.
2. You need to take some code from the file components/com_hikashop/views/product/tmpl/show.php to display the characteristics dropdown
3. You need to add all that in one of the listing_ files of the view product (it depends how you want to structure your code).
Please Log in or Create an account to join the conversation.
14 years 6 months ago #43208
by aheng5
Replied by aheng5 on topic Re: Variants in Product listing
Hi, do we need to be an Essential/Business buyer before you would consider providing more detailed instructions or provide revised related php files to allow the Variants to appear in the Product Listing?
Thanks
Thanks
Please Log in or Create an account to join the conversation.
14 years 6 months ago #43326
by nicolas
Replied by nicolas on topic Re: Variants in Product listing
No. I didn't give any code because such modifications are not to be taken lightly and will require more than one day of development for a developer. It's not just a few lines that you can add here and there.
The support included in our commercial offers are there to help you setup the application, not to developed for you custom functionalities.
The support included in our commercial offers are there to help you setup the application, not to developed for you custom functionalities.
Please Log in or Create an account to join the conversation.
Time to create page: 0.148 seconds