- Posts: 2
- Thank you received: 0
Managing varients
14 years 7 months ago #38262
by dancewear
Managing varients was created by dancewear
I have resently ditched Virtuemart and giving your product a go, so far thumbs up for a product that is much easier to use.
I do have one problem so far. Is it possible to prevent varients from automatically producing all possible combinations?
The suituation is I'm selling shoes and have 3 charactertics: size, colour and heel size, with about 20 different sizes, 10 colours and about 8 heel sizes. Not all of the combinations of characteristics are relevent to each shoe due to different brands and ranges etc. When I go to manage varients it auto populate about 1600 possible combinations but I often only need 10. So is it possible to stop Hikashop from automatically creating all possible combinations?
I have tried deleting all combinations bar say 10 but it deletes all combinations so I'm back to where I started. There also seems to be a bug in this area, if I unpublish any varients they still remain in the drop box of the product page, the only way to stop that behaviour is to delete the varient.
Many thanks for a great product, hope you can shine some light on my problem.
I do have one problem so far. Is it possible to prevent varients from automatically producing all possible combinations?
The suituation is I'm selling shoes and have 3 charactertics: size, colour and heel size, with about 20 different sizes, 10 colours and about 8 heel sizes. Not all of the combinations of characteristics are relevent to each shoe due to different brands and ranges etc. When I go to manage varients it auto populate about 1600 possible combinations but I often only need 10. So is it possible to stop Hikashop from automatically creating all possible combinations?
I have tried deleting all combinations bar say 10 but it deletes all combinations so I'm back to where I started. There also seems to be a bug in this area, if I unpublish any varients they still remain in the drop box of the product page, the only way to stop that behaviour is to delete the varient.
Many thanks for a great product, hope you can shine some light on my problem.
Please Log in or Create an account to join the conversation.
14 years 7 months ago #38341
by nicolas
Replied by nicolas on topic Re: Managing varients
If you want to change the behavior of the system so that it doesn't generate all the variants, you should change the line:
if(!empty($new) || (empty($results)&&!empty($main_ids))){
to :
if(false){
in the file administrator/components/com_hikashop/classes/product.php
There is no option for that for now.
That's indeed the normal behavior, when you unpublish a variant, it stays displayed, but it's not buyable. It's only when you delete it that it won't display.
if(!empty($new) || (empty($results)&&!empty($main_ids))){
to :
if(false){
in the file administrator/components/com_hikashop/classes/product.php
There is no option for that for now.
That's indeed the normal behavior, when you unpublish a variant, it stays displayed, but it's not buyable. It's only when you delete it that it won't display.
Please Log in or Create an account to join the conversation.
14 years 5 months ago #47640
by bebeiw
Replied by bebeiw on topic Re: Managing varients
How can the unpublish varient not showing on front-end?
Please Log in or Create an account to join the conversation.
14 years 5 months ago #47652
by bebeiw
Replied by bebeiw on topic Re: Managing varients
I finally deleted those unpublish varient lines. Thanks.
Please Log in or Create an account to join the conversation.
14 years 4 months ago #50498
by bebeiw
Replied by bebeiw on topic Re: Managing varients
May I know how to remove the button "Choose options" under the product name on category page? Thanks.
Please Log in or Create an account to join the conversation.
14 years 4 months ago #50543
by nicolas
Replied by nicolas on topic Re: Managing varients
In the hikashop options of your menus/modules (you can access them via the menu Display->Content modules/menus) you will find the option "Add to cart button display" that you can turn off for that.
The following user(s) said Thank You: bebeiw
Please Log in or Create an account to join the conversation.
14 years 4 months ago #50545
by bebeiw
Replied by bebeiw on topic Re: Managing varients
got it. Thank you.
Please Log in or Create an account to join the conversation.
Time to create page: 0.198 seconds