Welcome, Guest. Please login or register.
Login with username, password and session length


Need help or want to talk to other developers? Join the VirtueMart Chat! Read more...

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: [1] 2 3 ... 5   Go Down
Print
Author Topic: HowTo: Control the stock level of each item (with attributes).  (Read 70857 times)
Soeren
Administrator
Hero Member
*
Posts: 3106


VirtueMart Lead Developer


WWW
« on: November 15, 2005, 11:02:37 AM »

Hello,

this is asked again and again and: Yes! - VirtueMart supports stock level control for products with attributes and different variations. But it can't be achieved by using this simple "Advanced attribute list".

There is a way to create items with different values for each attributes and having their own stock level:

Go to the Product List and select a product (this becomes the parent product then).
Now click "Add attribute" in the toolbar. It should redirect you to the attribute form.
After you have added your attributes (say: "Size" and "Color"), you must go back to that product which now has attributes added to it.
Now click "Add items" in the toolbar to add child products to this product. You must now give those products values for each attribute "big" and "green" is an example. Those products have their own stock level now.

Currently child products can't be assigned to another parent product, but it is surely a good way to control your stock.

ciao, Soeren
Logged

The future of eCommerce: VirtueMart & Joomla!
http://virtuemart.net
--
The VirtueMart project needs your help! To be able to continue this project please contribute your skills. Read more.
gwen
Sr. Member
****
Posts: 333


« Reply #1 on: November 26, 2005, 14:28:36 PM »

hi soeren,

two questions...

1.in the browse page (or details) does VM check the stock of all the child to display "IN STOCK" or "NOT IN STOCK"

e.g. 1 parent 3 child
child 1 : 2 in stock
child 2 : 0 in stock
child 3 : 0 in stock

does VM will display "IN STOCK" or not ? admit that in the browse page only the parent is visible

2.the only way by now to customize a product (e.g. make a print on a tshirt) is to use parent/child product
the parent is the blank one and the child the customized one (with the print).
the stock is the same for both (cause it's the same clothe)...
how VM can manage that...if it can ?

Logged

Gwen ex-dev team member
peluche - doudou - puericulture - cadeaux naissance - ecusson - Kaloo[/si
Jibba
Newbie
*
Posts: 3


« Reply #2 on: November 29, 2005, 18:30:36 PM »

Hi there,

Thank you, but what if we want to display ONLY whether the items are "In Stock" or "Currently Out of Stock" and not display any quantities? Is this possible?

Thanks again,

-Jibba
Logged
nitro
Newbie
*
Posts: 12



WWW
« Reply #3 on: December 13, 2005, 16:54:18 PM »

i did this attribute thing, but it is not showing anything. all i see is the product, its price and details. i don't see any other things around. i have added three different attibutes to this. am i missing something? any comments... i'd appreciate it!
Logged
mosey
Full Member
***
Posts: 210


WWW
« Reply #4 on: December 13, 2005, 17:10:05 PM »

After adding attributes, you can then add a new item under the present item (click on "new Item" on the topright tool bar or from the dropdown for current item) which will become the child product.

However - if you prefer to just have ONE item and customise this item (instead of having separate stock for each 'customisation') then you can use custom/advanced attributes.
« Last Edit: December 13, 2005, 17:13:28 PM by mosey » Logged

Back again! Smiley September 12th 2006

Don't worry about absolute urls! If you move your images around you can use this to update your database links!

Why not join the virtuemart IRC channel at #virtuemart on chat.freenode.net?
nitro
Newbie
*
Posts: 12



WWW
« Reply #5 on: December 13, 2005, 17:25:01 PM »

oh i see them now, but i am getting confused though. what is attributes for and what is the 'new item' for, if i need to add a child item i understand i use the 'new item' when i am editing the product, is that right? so attribute is just like a 'tag' so readers can get the insight of the product?
Logged
mosey
Full Member
***
Posts: 210


WWW
« Reply #6 on: December 13, 2005, 17:32:21 PM »

Actually Product Attributes (as described by Soeren above) is closer to 'Product Variations'. For instance, if you sell the product "T-Shirt" and have different colours, and would like to monitor the number of t-shirts you have for each colour, your T-shirt is the parent product, and each colour is your child item.
Logged

Back again! Smiley September 12th 2006

Don't worry about absolute urls! If you move your images around you can use this to update your database links!

Why not join the virtuemart IRC channel at #virtuemart on chat.freenode.net?
nitro
Newbie
*
Posts: 12



WWW
« Reply #7 on: December 13, 2005, 17:40:10 PM »

oh, thank you for taking the time in helping me with this confusion.

so when you say
Quote
and would like to monitor the number of t-shirts you have for each colour
this means, in my report i will be able to tell in more details about the product, right. thank you.
Logged
mosey
Full Member
***
Posts: 210


WWW
« Reply #8 on: December 13, 2005, 17:42:17 PM »

No probs. It's a little bit confusing.

Yep that's right -> re: report. Can add more description to it etc.
Logged

Back again! Smiley September 12th 2006

Don't worry about absolute urls! If you move your images around you can use this to update your database links!

Why not join the virtuemart IRC channel at #virtuemart on chat.freenode.net?
nitro
Newbie
*
Posts: 12



WWW
« Reply #9 on: December 13, 2005, 17:51:56 PM »

ok, ths is taking shape. i appreciate your comments and guidence.
let me just wrap up this to clarify.
1. i tried writing down in the attribute field and i can see a little drop down menu below my item, however i couldn't add more just two.
2. when i tried the button for attributes i was able to create an attribute however i am still confused and to how to make it show up below or anywhere around the item.
3. i understood about adding new child items and that works great.
4. what is the difference between writing down in the attribute field data and using the one you create when you click on the 'add attribute' button, that's where i am still a littel bit confused but close to get it  Cheesy

i appreciate it!!! thank you!!!
Logged
mosey
Full Member
***
Posts: 210


WWW
« Reply #10 on: December 13, 2005, 18:02:30 PM »

The custom/advanced attribute field data area is more I think for users to 'customise' the product than say the 'add attribute/product variation' version (more flexible)

eg. If you were selling custom-made computers, you could use the attribute field to add on items such as 'hard-drive' or 'speakers' etc. which would be more difficult with the 'add attribute/product variation' one.

With regards to 1. I'm not sure why - but perhaps the documentation will help here.
And for 2. From what I understand, the attribute/product variation will only show up if you have actually added a child item using this attribute/variation. (I think... although someone will correct me for sure if I've got this part entirely wrong)
Logged

Back again! Smiley September 12th 2006

Don't worry about absolute urls! If you move your images around you can use this to update your database links!

Why not join the virtuemart IRC channel at #virtuemart on chat.freenode.net?
nitro
Newbie
*
Posts: 12



WWW
« Reply #11 on: December 13, 2005, 18:10:57 PM »

i got it. thank you so much.

you ROCK!!!
Logged
gwen
Sr. Member
****
Posts: 333


« Reply #12 on: December 17, 2005, 11:54:46 AM »

hey guys....
please try to make this board clean...
the opening post was about the stock managment....not "how to create or manage attribut..."!
why did you post your question here ?
you might create your own post no ?


Mosey still be the one for helping there ;-)

by the way I repost my question to soeren ;-)


1.in the browse page (or details) does VM check the stock of all the child to display "IN STOCK" or "NOT IN STOCK"

e.g. 1 parent 3 child
child 1 : 2 in stock
child 2 : 0 in stock
child 3 : 0 in stock

does VM will display "IN STOCK" or not ? admit that in the browse page only the parent is visible
Logged

Gwen ex-dev team member
peluche - doudou - puericulture - cadeaux naissance - ecusson - Kaloo[/si
stevebarnes
Newbie
*
Posts: 4


Skype: businessgeeks


WWW
« Reply #13 on: March 24, 2006, 02:53:34 AM »

Hi Soeren, I'm new to VM, but think it's great.

I have 4 or 5 attributes against a product, none of which affect price, but are rather options of the Timber Sign my client plans to sell. Each sign is a certain size and finish, which equates to PRODUCT.

Within PRODUCT however, I need to have drop down boxes for these attributes. How easiest to accomplish this?

Does your previous comment imply that I'll need an item for every possible combination? there will be thousands due to the heaps of colours and fonts!!!

Please HELP me understand how best to approach this


I'd like to put in to VirtueMart if I can gain some understanding.

Best regards,
Steve Barnes
Brisbane, Australia Smiley
Logged

Steve Barnes
Chief Geek
Business Geeks
icw
Newbie
*
Posts: 11


« Reply #14 on: April 19, 2006, 21:46:03 PM »

Ok, I'm really having an issue to follow the logic with this, yet I'm no newb either,,,so here's what I need to do. This has got to be the most hardest way to set attributes that I've ever come across,,,BUT not to complain, just need to find the solution

Here's the needed setup

1 product has for size formats

30 mL, 60mL, 120mL, 250mL

each has its own SKU id reference and price

How the devil do you get this setup...

I've setup OSC, Zencart and others with a snap, but this is the most awkward way I've ever come across...

so to refresh

one product, 4 sizes, 4 prices (independant SKU's needed for stock control as well)

product page(short and detailed) for each product that applies to this example

(cosmetic product store setup)

Product

Cleansing Milk

Options required


Format      Price                   SKU
30mL                 5.95 trial size                    CM30t
60mL                 9.95                                CM60
120mL              19.95                               CM120
250mL              39.95                               CM250

In many other carts, you set the main price at 0 and set attributes to match the product options using radio check buttons rather then pulldown options,

Many users can make mistakes in choosing options in this manner. Each format and price of a product needs to be independant, but I can't see myself adding multiple products for each product.

Each product also applys to different price levels based on the wholesale level given to the user, so it needs to be clean and straight forward. What am I missing from this in order to make it more clear to the choice in the product?
Logged
Pages: [1] 2 3 ... 5   Go Up
Print
Jump to: