Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: Stock Level Child Products

Stock Level Child Products 11 years 6 months ago #839

I am using VM 2 for a clothing shop. I therefore use the Attribute with stock control plugin (what a crime...........). I have got it working every now and then, but I can't get the stock levels on the frontend to display correctly. For instance I have 4 sizes of a product off which two are on stock. How do I get to display this correctly?

It happens only on the browsepage with the expandable add-to-cart button.

In short, there is no attribute stock check on the browse page?

Thanks,
KooTjoo
Last Edit: 11 years 6 months ago by Marco Kooreman.
The administrator has disabled public write access.

Stock Level Child Products 11 years 6 months ago #841

Another strange thing with the attributes is that I can't get the sequence right. I have for instance sizes M, L, XL and XXL. In the dropdown I can't get it to show in this order. I have followed the great tutorial on this site but it mixes up the sequence.
The administrator has disabled public write access.

Stock Level Child Products 11 years 6 months ago #860

- Ordering Child Product has been added recently to Virtuemart, when you order the child products in the "product list" view, they should be in the order as same as in the backend. Ordering the child product in the dropdown box has nothing to with our VM Template, it must be done via VM Backend, and i am pretty sure it has been fixed in the new release (VM2.0.12 or VM2.0.12b)

- You are using "VM custom Field, stackable Variant" right? not "generic child product" custom field. Then you should have them be shown correctly in category browse page as well. As you might now, in original Virtuemart, there is no "add to cart" button in category browse page. So, the "VM custom Field, stackable Variant" has been designed to use only in product details page, but in our VM Template we have implemented the "add to cart" button as well. (because people love it, and VM Developer, i don't know why, just don't do it. Maybe because it is not working efficiently. So anyway, within a VM Template, we are limited. We can't touch any core files, we can't override the core JS file (vmprices.js or other important JS files), we can't even change any single line in anywhere beside Template files of Virtuemart. This blocks us to fix the problems in terms of having add to cart button in category browse page. We are just hoping VM Developer will do the changes, but it takes some time :)

Anyway, lets get back to your problem. So, within our VM Template's Category Browse Page, when any "child product" becomes "out of stock", it still shows in the "dropdown box", and once it is chosen, the "add to cart" button doesn't changed to "notify me" (unlike product details page) BUT; once it is tried to be added to cart, it gives the notice of "Product out of stock", so, buyers can't add this product to cart which avoid the confusion. In the product details page, everything works like a charm, if the "out of stock" attributes is selected, the "add to cart" button is changed to "notify" me, buyers can't even click it. Doesn't it work the same in your website?

Browse our DEMO: www.flexiblewebdesign.com/virtuemart-2-template-puremart/index.php?option=com_virtuemart&view=category&virtuemart_category_id=6

And look at the 2nd product (diesel Tshirt) it has 3 color option, and the "White" option is out of stock, try to add "white" to cart in both category browse page and product details page. You won't be able to do it.

Cheers.
Last Edit: 11 years 6 months ago by Support.
The administrator has disabled public write access.

Stock Level Child Products 11 years 6 months ago #864

Hi,

Thanks for the answers (wish the guys from Virtuemart would respond in this way).
- Ordering Child Product has been added recently to Virtuemart, when you order the child products in the "product list" view, they should be in the order as same as in the backend. Ordering the child product in the dropdown box has nothing to with our VM Template, it must be done via VM Backend, and i am pretty sure it has been fixed in the new release (VM2.0.12 or VM2.0.12b)

I think you are wrong on this. I am using VM 2.0.12f and there is no way to order the child products. In teh Virtuemart Forum there is still a discussion going on about this problem. The only way to do it is to adjusut it manually in the database.

See this topic:


In the Category Browse Page in list view (the view I like the most) the stock levels of the child products aren't taken into account. On teh Product Details page it works perfectly. Is this how it should work? Then can you indicate which code to remove to make the add to cat button not expand?

In my shop people are able to buy items even if they ar out of stock.

Thanks,
KooTjoo
The administrator has disabled public write access.

Stock Level Child Products 11 years 5 months ago #880

Hi,

Of course child product's stock info is taken into account. Browse the DEMO:
www.flexiblewebdesign.com/virtuemart-2-template-puremart/index.php?option=com_virtuemart&view=category&virtuemart_category_id=6

See the 2nd product in ListView layout, choose "white" color and try to add it to cart. You will see, that product is out of stock.

By the way; in your store; If people can buy the items even though they are out of stock, Then why are you using "VM Custom Field, Stockable Variant" ? That Custom field plugin must be used only if the stock info is considered for child products. You should be using "Cart Variant" type custom field, which much easier to build and manage (because you don't need to create child products)

Cheers.
The administrator has disabled public write access.

Stock Level Child Products 11 years 5 months ago #881

Hi,

I want to use it because the store owner must be able to track stock and in future the customers must also see it.

I see what you mean when you add it to the cart. But when you hover over the button the stock is always the same despite the color you choose (product in stock (2)). This is a little bit confusing.

I have managed to disable the sliding of the add to cart button, but it would be better that when you select a product variant the text inside the button would change when you hover over it.

Thanks,
KooTjoo
The administrator has disabled public write access.

Stock Level Child Products 11 years 5 months ago #882

And...about the ordering of the child products in the dropdown this still is a very big issue. I know this is a Virtuemart issue but if you could provide a solution for this (even if it is a VM hack).............
The administrator has disabled public write access.

Stock Level Child Products 11 years 5 months ago #883

And...about the ordering of the child products in the dropdown this still is a very big issue. I know this is a Virtuemart issue but if you could provide a solution for this (even if it is a VM hack).............
The administrator has disabled public write access.
Time to create page: 0.056 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo