Cool. Will it be an easy drop in replacement or will I have to use winmerge to keep all of my changes?
BigWil
Printable View
Cool. Will it be an easy drop in replacement or will I have to use winmerge to keep all of my changes?
BigWil
It will be fairly easy because the majority of the changes are directly in the products_with_attributes_stock.php file. There will be some changes to the core files, but there won't be many.Quote:
Originally posted by BigWil@Jan 24 2006, 10:01 PM
Cool. Will it be an easy drop in replacement or will I have to use winmerge to keep all of my changes?
There will also be additional SQL statements to create the configuration keys and such..
Actually I'm finding out that an On/Off switch is pretty useless, because the code already handles everything normally whether or not there are products with attribute stock entered.
BigWil, what were you hoping to accomplish by making this module toggleable?
Update: I've turned this into a "Stock" in general module, meaning that you will also have the option to list/edit stock for products NOT having any attributes. This is handy because it allows your client to maintain all stock for all products in one centralized location. I've also added a couple of configurable options in Configuration > Stock so you'll be able to set up the tool to fit your needs.
I'm doing some testing now, waiting on some feedback from my client as well as dafonz, will hopefully have a new version for downloading soon!
Can't wait for this contribution as I have been looking around for alternative shopping carts today that have this feature.
Found one at www.cs-cart.com which is $125 but it won't display attribute images.
For a clothes shop this is a really big selling point.
Hoping it'll be ready in the next few weeks so that I can have a play with it
Thankyou for working on this contribution
I'll have a ZIP file for testing in the next day or two. If anyone wants a copy please PM me. I want to get some testing/feedback before actually releasing it.
One question I do have about this contrib is:
What happens when a stock attribute is sold out ?
Does it
A. Dissapear from the product attributes completely
B. Show a javascript alert saying out of stock when you try to select an out of stock attribute.
C. Other
If I have a T-shirt available in red or green and I sell out of red T-shirts I still want the option to be visible so that customers are aware that I can get the shirts in that colour. The customer can then contact the store owner to find out when that colour will be restocked.
Depeds on your settings in Configuration > Stock. But by default you can add it to your cart, and the cart will output a message saying that it's out of stock.
As well as the above, if your site is set up to go directly to the shopping cart and show the items that are in it everytime a product is added to the cart then the out of stock knowledge is instantaneous. IMO, this is the best scenario w/ the currently available options if you intend to leave products in the catalog that are out of stock.
If you would like to see this in action try adding the Sheer Halter in size large to your cart on my website. I don't expect it back in stock for at least a month.
Sorry, I don't know off the top of my head where the setting is for this. Perhaps someone else out there in Zen land can help if needed.
Audra
Nice site Audra! Unique, well organized, and pleasing to the eye! In other words....I'm jealous...lol
b