mybiz9999:
I sell clothing, and have two attributes, color and size
color: red , blue, yellow
size: Small, Mid , Large
The red small shirt has stock of 56.
The red large shirt has zero stock.
How to acheive it with this add-on?
I just spent one week in finding how to get this done
any words is greatly appreciated!
As a test, try setting the attribute stock page like the following (ignore the customid field, that will be in the next version)
Please let me know how this goes.
[TABLE]
[TR]
[TH="class: thProdId, bgcolor: #D9E1E5"]Product ID[/TH]
[TH="class: thProdName, bgcolor: #D9E1E5"]Product Name[/TH]
[TH="class: thProdImage, bgcolor: #D9E1E5"]Image[/TH]
[TH="class: thProdModel, bgcolor: #D9E1E5"]Product Model[/TH]
[TH="class: thProdQty, bgcolor: #D9E1E5"]Quantity for all variants[/TH]
[TH="class: thProdAdd, bgcolor: #D9E1E5"]Add Quantity For Product Variant[/TH]
[TH="class: thProdSync, bgcolor: #D9E1E5"]Sync Quantities[/TH]
[/TR]
[TR]
[TD="colspan: 7"][TABLE="width: 100%"]
[TR="class: productRow, bgcolor: #EEEEEE"]
[TD="class: tdProdId, bgcolor: #D9E1E5"]1287[/TD]
[TD="class: tdProdName, bgcolor: #D9E1E5"]Shirt[/TD]
[TD="class: tdProdImage, bgcolor: #D9E1E5"]TEXT_IMAGE_NONEXISTENT[/TD]
[TD="class: tdProdModel, bgcolor: #D9E1E5"]
[URL="http://localhost/oldtest/ray/product.php?page=1&product_type=1&cPath=88&pID=1287&action=new_product"]Link[/URL][/TD]
[TD="class: tdProdQty, bgcolor: #D9E1E5"]100[/TD]
[TD="class: tdProdAdd, bgcolor: #D9E1E5"][URL="http://localhost/oldtest/ray/products_with_attributes_stock.php?action=add&products_id=1287"]Add Quantity For Product Variant[/URL][/TD]
[TD="class: tdProdSync, bgcolor: #D9E1E5"][URL="http://localhost/oldtest/ray/products_with_attributes_stock.php?action=resync&products_id=1287"]Sync Quantities[/URL][/TD]
[/TR]
[/TABLE]
[TABLE="class: stockAttributesTable"]
[TR]
[TH="class: stockAttributesHeadingStockId"]Stock ID[/TH]
[TH="class: stockAttributesHeadingVariant"]Variant[/TH]
[TH="class: stockAttributesHeadingQuantity"]Quantity in Stock[/TH]
[TH="class: stockAttributesHeadingSort"]Sort Order[/TH]
[TH="class: stockAttributesHeadingCustomid"]Custom ID[/TH]
[TH="class: stockAttributesHeadingEdit"]Edit[/TH]
[TH="class: stockAttributesHeadingDelete"]Delete[/TH]
[/TR]
[TR]
[TD="class: stockAttributesCellStockId, bgcolor: #FDFFFF"]621[/TD]
[TD="class: stockAttributesCellVariant, bgcolor: #FDFFFF"][B]Color:[/B] Blue
[/TD]
[TD="class: stockAttributesCellQuantity, bgcolor: #FDFFFF"]100[/TD]
[TD="class: stockAttributesCellSort, bgcolor: silver"]0[/TD]
[TD="class: stockAttributesCellCustomid, bgcolor: orange"][/TD]
[TD="class: stockAttributesCellDelete, bgcolor: #FDFFFF"][URL="http://localhost/oldtest/ray/products_with_attributes_stock.php?action=edit&products_id=1287&attributes=855&q=100"]Edit Quantity[/URL][/TD]
[TD="class: stockAttributesCellEdit, bgcolor: #FDFFFF"][URL="http://localhost/oldtest/ray/products_with_attributes_stock.php?action=delete&products_id=1287&attributes=855"]Delete Variant[/URL][/TD]
[/TR]
[TR]
[TD="class: stockAttributesCellStockId, bgcolor: #FDFFFF"]622[/TD]
[TD="class: stockAttributesCellVariant, bgcolor: #FDFFFF"][B]Color:[/B] Red
[/TD]
[TD="class: stockAttributesCellQuantity, bgcolor: #FDFFFF"]100[/TD]
[TD="class: stockAttributesCellSort, bgcolor: silver"]0[/TD]
[TD="class: stockAttributesCellCustomid, bgcolor: orange"][/TD]
[TD="class: stockAttributesCellDelete, bgcolor: #FDFFFF"][URL="http://localhost/oldtest/ray/products_with_attributes_stock.php?action=edit&products_id=1287&attributes=856&q=100"]Edit Quantity[/URL][/TD]
[TD="class: stockAttributesCellEdit, bgcolor: #FDFFFF"][URL="http://localhost/oldtest/ray/products_with_attributes_stock.php?action=delete&products_id=1287&attributes=856"]Delete Variant[/URL][/TD]
[/TR]
[TR]
[TD="class: stockAttributesCellStockId, bgcolor: #FDFFFF"]627[/TD]
[TD="class: stockAttributesCellVariant, bgcolor: #FDFFFF"][B]Color:[/B] Red
[B]Size:[/B] Small
[/TD]
[TD="class: stockAttributesCellQuantity, bgcolor: #FDFFFF"]56[/TD]
[TD="class: stockAttributesCellSort, bgcolor: silver"]0[/TD]
[TD="class: stockAttributesCellCustomid, bgcolor: orange"][/TD]
[TD="class: stockAttributesCellDelete, bgcolor: #FDFFFF"][URL="http://localhost/oldtest/ray/products_with_attributes_stock.php?action=edit&products_id=1287&attributes=856,858&q=56"]Edit Quantity[/URL][/TD]
[TD="class: stockAttributesCellEdit, bgcolor: #FDFFFF"][URL="http://localhost/oldtest/ray/products_with_attributes_stock.php?action=delete&products_id=1287&attributes=856,858"]Delete Variant[/URL][/TD]
[/TR]
[TR]
[TD="class: stockAttributesCellStockId, bgcolor: #FDFFFF"]628[/TD]
[TD="class: stockAttributesCellVariant, bgcolor: #FDFFFF"][B]Color:[/B] Red
[B]Size:[/B] Large
[/TD]
[TD="class: stockAttributesCellQuantity, bgcolor: #FDFFFF"]0[/TD]
[TD="class: stockAttributesCellSort, bgcolor: silver"]0[/TD]
[TD="class: stockAttributesCellCustomid, bgcolor: orange"][/TD]
[TD="class: stockAttributesCellDelete, bgcolor: #FDFFFF"][URL="http://localhost/oldtest/ray/products_with_attributes_stock.php?action=edit&products_id=1287&attributes=856,860&q=0"]Edit Quantity[/URL][/TD]
[TD="class: stockAttributesCellEdit, bgcolor: #FDFFFF"][URL="http://localhost/oldtest/ray/products_with_attributes_stock.php?action=delete&products_id=1287&attributes=856,860"]Delete Variant[/URL][/TD]
[/TR]
[TR]
[TD="class: stockAttributesCellStockId, bgcolor: #FDFFFF"]623[/TD]
[TD="class: stockAttributesCellVariant, bgcolor: #FDFFFF"][B]Color:[/B] Yellow
[/TD]
[TD="class: stockAttributesCellQuantity, bgcolor: #FDFFFF"]100[/TD]
[TD="class: stockAttributesCellSort, bgcolor: silver"]0[/TD]
[TD="class: stockAttributesCellCustomid, bgcolor: orange"][/TD]
[TD="class: stockAttributesCellDelete, bgcolor: #FDFFFF"][URL="http://localhost/oldtest/ray/products_with_attributes_stock.php?action=edit&products_id=1287&attributes=857&q=100"]Edit Quantity[/URL][/TD]
[TD="class: stockAttributesCellEdit, bgcolor: #FDFFFF"][URL="http://localhost/oldtest/ray/products_with_attributes_stock.php?action=delete&products_id=1287&attributes=857"]Delete Variant[/URL][/TD]
[/TR]
[TR]
[TD="class: stockAttributesCellStockId, bgcolor: #FDFFFF"]624[/TD]
[TD="class: stockAttributesCellVariant, bgcolor: #FDFFFF"][B]Size:[/B] Small
[/TD]
[TD="class: stockAttributesCellQuantity, bgcolor: #FDFFFF"]100[/TD]
[TD="class: stockAttributesCellSort, bgcolor: silver"]0[/TD]
[TD="class: stockAttributesCellCustomid, bgcolor: orange"][/TD]
[TD="class: stockAttributesCellDelete, bgcolor: #FDFFFF"][URL="http://localhost/oldtest/ray/products_with_attributes_stock.php?action=edit&products_id=1287&attributes=858&q=100"]Edit Quantity[/URL][/TD]
[TD="class: stockAttributesCellEdit, bgcolor: #FDFFFF"][URL="http://localhost/oldtest/ray/products_with_attributes_stock.php?action=delete&products_id=1287&attributes=858"]Delete Variant[/URL][/TD]
[/TR]
[TR]
[TD="class: stockAttributesCellStockId, bgcolor: #FDFFFF"]625[/TD]
[TD="class: stockAttributesCellVariant, bgcolor: #FDFFFF"][B]Size:[/B] Medium
[/TD]
[TD="class: stockAttributesCellQuantity, bgcolor: #FDFFFF"]100[/TD]
[TD="class: stockAttributesCellSort, bgcolor: silver"]0[/TD]
[TD="class: stockAttributesCellCustomid, bgcolor: orange"][/TD]
[TD="class: stockAttributesCellDelete, bgcolor: #FDFFFF"][URL="http://localhost/oldtest/ray/products_with_attributes_stock.php?action=edit&products_id=1287&attributes=859&q=100"]Edit Quantity[/URL][/TD]
[TD="class: stockAttributesCellEdit, bgcolor: #FDFFFF"][URL="http://localhost/oldtest/ray/products_with_attributes_stock.php?action=delete&products_id=1287&attributes=859"]Delete Variant[/URL][/TD]
[/TR]
[TR]
[TD="class: stockAttributesCellStockId, bgcolor: #FDFFFF"]626[/TD]
[TD="class: stockAttributesCellVariant, bgcolor: #FDFFFF"][B]Size:[/B] Large
[/TD]
[TD="class: stockAttributesCellQuantity, bgcolor: #FDFFFF"]100[/TD]
[TD="class: stockAttributesCellSort, bgcolor: silver"]0[/TD]
[TD="class: stockAttributesCellCustomid, bgcolor: orange"][/TD]
[TD="class: stockAttributesCellDelete, bgcolor: #FDFFFF"][URL="http://localhost/oldtest/ray/products_with_attributes_stock.php?action=edit&products_id=1287&attributes=860&q=100"]Edit Quantity[/URL][/TD]
[TD="class: stockAttributesCellEdit, bgcolor: #FDFFFF"][URL="http://localhost/oldtest/ray/products_with_attributes_stock.php?action=delete&products_id=1287&attributes=860"]Delete Variant[/URL][/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[/TABLE]