Product characteristics

  • Posts: 49
  • Thank you received: 0
11 years 3 months ago #124465

1. After managing the number of variants in stock for a particular product characteristic it becomes visible for the customer on the productpage. How to hide the number of products in stock for a specific characteristic when the number of products in stock is >1. So i would like to only show the number of products left in stock when there is only one product left.

2. Each time when i set the number of products in stock for a specific characteristic i have to individually reset the product filters. Is it possible that each product variant copies the product filters set on the main page of the product. Like it does for the price, i can leave the price setting blank because it automatically copies the price set for the product on the main page.

Please Log in or Create an account to join the conversation.

  • Posts: 26165
  • Thank you received: 4029
  • MODERATOR
11 years 3 months ago #124505

Hi,

1. You can override the view "product | quantity" to change how the product quantity is displayed.

2. If you do not set the product quantity for a variant (unlimited) it will use the quantity of the main product.
If the quantity of the main product is also unlimited, the variant will be unlimited.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 49
  • Thank you received: 0
11 years 3 months ago #124528

1. Where to find the file view "product | quantity" and which line? Can i adjust a current line or do i have to add a new line to the file?

2. I have products with different characteristics (like shoe sizes). every size has a different quantity. so i have to set this particular quantity for every characteristic. I set the filters for the main product, but now i have to set the filters again for every characteristic i change the quantity of. which is very time consuming. If i only fill in a specific quantity for a characteristic the product filters are empty on the productpage. Why does it not automaticly copies the filters set at the main page? Like it does for the price for instance. If i change the quantity of a characteristic and i leave the price empty it does copy the price set for the main product. Hopefully you understand what i am trying to accomplish.

Please Log in or Create an account to join the conversation.

  • Posts: 49
  • Thank you received: 0
11 years 3 months ago #124755

????

Please Log in or Create an account to join the conversation.

  • Posts: 26165
  • Thank you received: 4029
  • MODERATOR
11 years 2 months ago #124857

Hi,

1. You can access to the view in the HikaShop backend. Under: "Display > Views".
Please edit the view for your current front-end template, otherwise the modification won't be visible.
The interesting block for you starts with

}elseif($this->row->product_quantity>0){
It requires some development and PHP knowledge to modify the code in order to have your wanted result.

2. At this moment I think that the "mass-action" feature could help your for this repetitive task.
You can take a look and make tests in our demo website.
You can also check the mass-action documentation : www.hikashop.com/support/documentation/167-massaction-form.html

3. I know that you were waiting for an answer but we answer to all questions and we have a moderation system. So each time you make a reply to your thread, you loose your place in the queue and you might wait longer.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum