hi!
firstly, i would like to thank everyone for this very useful contribution. I have successfully used this on my site for some time...
i would like to remove them at the moment... may i know the step-by-step process on removing it..? thankz!
Printable View
hi!
firstly, i would like to thank everyone for this very useful contribution. I have successfully used this on my site for some time...
i would like to remove them at the moment... may i know the step-by-step process on removing it..? thankz!
Given the lack of response, I'm guessing that to remove this mod you are simply going to have to compare the files and undo what was done. If you are confident that you hadn't made any other changes to files, you can simply upload the stock Zen page.
Likewise, looking at the SQL file should help you to figure out what database changes were made. I could fumble my way through it in phpMyAdmin for my own uses, but I'm not competent enough to provide the code to someone else for undoing the database changes.
Maybe someone else can help w/ that??
Disabling this mod can be done at several levels.
1) Removing all product variants will cause it never to be used
2) Replacing the files listed as over-ridden or over-written in the packages readme file (or its wiki entry) with the versions in your original Zen Cart release package will prevent it from being used.
3) Deleting all the files that come in the mod's release package, re-inserting those listed as over-ridden or over-written in the packages readme file (or its wiki entry) with the versions in your original Zen Cart release package, and running this SQL via Admin > Tools > Install SQL Patches will make like it was never there(remember to backup your database first if you go for option 3)Quote:
DROP TABLE products_with_attributes_stock;
DELETE FROM configuration where configuration_key = "STOCK_SHOW_LOW_IN_CART";
Hi Kuroi!
First, let me thank you for this excellent addition to zen cart functionality!! :hug:
I have started to get deeper into using this mod and I have realised some of the limitations when you have so many attributes in one product and are trying to update the stock levels.
Perhaps my situtation is somewhat unique, I don't stock individual items with various attributes such as " this t-shirt with this screen print in small, medium, large sizes in green, red and blue". Instead, many items have various options such as "which length mounting screw would you like", "do you want gaskets with that drum lug", etc. Really, it's combining several individual products into one instead of having a lot of similar products that are individual, if you see what I mean.
My problem lies in when one of the attributes, one of these various combined products, is out of stock. I then have to go into SBA and change large amounts of variants.
My question is: Is there a way to make global changes? For instance, say I have a product with the attributes of plating (chrome, brass, gold, satin chrome, black chrome, etc.), screws (6 different types for different drum shells), and gaskets(yes or no), and the gasket is out of stock. I have to go in and make all of the variant changes for the different platings and screws with gasket "yes" and "no". That is a lot of variants. And we have over 2300 products and by the time I am done there will be over 7000(not all with attributes, but many will have them). I would like to be able to specify that attribute "gasket" is out of stock, and therefore any variant that cascades from that is out of stock, instead of having to manually enter every single variant.
Is this possible? I am in the equivalent of my second semester of PHP/MySQL/Javascript/DOM/etc. programming education so I am not yet at the skill level to make the changes or even to figure out if it's possible.
Basically, what I am asking is: Is there a way to select a heirarchy in zencart, and more specifically in SBA, that cascades down with stock levels? So if "chrome" plating is out of stock then all variants that include chrome plating would be out of stock instead of having to go through all of the variants? I know that there are many zen cart users that would benefit from this.
I am willing to pay for this ability, it is really crucial to me since we stock so many items from various vendors and it is becoming a nightmare to try to work through all of the variants since inventory levels can change so much.
It would be most helpful to be able to select which attribute is the "top level" attribute that cascades down to the other variants.
Is what I am saying making any sense? I am having some difficulty expressing what I am trying to say. If you need any further elaboration please let me know.
Thanks again, Kuroi. It's the folks like you that make zen cart even better than it already is, and my hat is off and I am bowing low to your skill level with making these awesome and powerful mods!:hug:
Matt
Hi Matt
Glad you like the mod, but I'm afraid that it's not really the right one for your situation. Stock by Attributes is designed for products where the attributes are intrinsic to and indivisible from the products whose stock is being tracked. Yours aren't. A better mod for your store would be this one, which is designed for the situation that you describe.
Hi Kuroi,
Thanks so much!! I go through the downloads section on a regular basis and yet I somehow totally overlooked that mod! :blush::D
Matt
My question about attributes is a bit different - I use attributes typically when I have a product 'X' in Large Medium or Small variants.
What I want is to enter the stock of each variant (attribute) and then to have them treated as separate products for stock levels so that if, for example, I have 10 large, 2 medium and 0 small 'X's left:
the low stock report shows 2 large 'X' and 0 small 'X' left
'Small X' is disabled on the website as out of stock so customers can't order them
The only reason I use attributes is because if someone likes the look of 'X's I want to be able to market Xs as a range or product family, and for customers to see the whole range of Xs together with my description of them and to be able to choose a matching set of different sizes (or colours or whatever) without having to go back to the full catalogue each time, and to keep the search results a manageable length.
Any ideas welcome!
Guys,
have the mod installed and been working for quite a while with 1 problem that i have been working around manually.
We have some attributescombinations that arent stocked but customers are still allowed to buy them as we can order them in.
The problem with this is that it seems to cause any product purchased that has some attributes attached, to not reduce the stock as it should. This happens whether the attribute specified by the customer is in stock or not.
If a product without any attributes is purchased then it reduces stock correctly.
e.g.:
-a T-shirt with size attribute to be defined is bought, Small is selected which is in stock but the stock isnt reduced
-a T-shirt with size attribute to be defined is bought, Medium is selected which isnt in stock (stock is already 0). the stock is left untouched.
-a hat is purchased, not attributes are attached and the stock is reduced as required.
Any way to fix this so that the stock is reduced correctly for items that have attributes with stock? Obviously any items that have attributes attached which arent in stock should stay at 0.
Joe