- Posts: 15
- Thank you received: 2
Product Quantity and Product Display
$this->params->set('show_quantity_field', 1);
This puts in a nice quantity box except it is way too big for the listing and just makes it over sized? Is there a way to make this smaller?
Also, is there a way of disabling the link to a single product page because I just want people to look at the category view and see all the products in that category and then from here they can choose quantities and add them to their cart.
Thanks, Dom.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
1. Sure you'll be able to re-size your quantity box by using some CSS code.
2. You'll just have to just have to edit the content menu/module of your product listing through "Hikashop->Display->Content modules/menus", and set the Link to the product page option to NO.
Please Log in or Create an account to join the conversation.
www.dhdesign.org.uk/taste/index.php/wine/champagne this is the page I am wanting it on. I have disabled the function at the minute because it looked silly!
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Please Log in or Create an account to join the conversation.
Thanks.
Please Log in or Create an account to join the conversation.
Please ask your template provider how to properly remove that code and it will display with a normal width.
Please Log in or Create an account to join the conversation.
- Posts: 53
- Thank you received: 0
domhan wrote: Hi, I have managed to add the product quantity field to the Category Display of all products by using the code:
$this->params->set('show_quantity_field', 1);
This puts in a nice quantity box except it is way too big for the listing and just makes it over sized? Is there a way to make this smaller?
Also, is there a way of disabling the link to a single product page because I just want people to look at the category view and see all the products in that category and then from here they can choose quantities and add them to their cart.
Thanks, Dom.
What file did you add the code to?
I need to do the same thing.
Thanks,
Please Log in or Create an account to join the conversation.
You go to the Hikashop component. Then on the top tabs, Display > Views.
Then at the top right there are some drop down menu's, Select "Product" and then in the middle one select your template. This will bring up a list of different views. Find the one called "listing_img_title" Open it.
Then scroll down until you see:
I just added that line of code so mine looks like this.
Thanks, Dom.
Please Log in or Create an account to join the conversation.