Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
jeking
Can you share your irl?
This is how it should look:
http://shopasgoodasgold dot com/index.php?main_page=product_info&cPath=4_5&products_id=9
Here is the url: http://sweetsagescents.com/index.php...roducts_id=223
And all but 4 scents are out of stock (or supposed to be since I set the stock quantity to 0).
Mal
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Check this file:
\includes\modules\YOUR_TEMPLATE\attributes.php
That's where the Out of Stock message is generated which is defined in:
\includes\languages\english\extra_definitions\products_with_attributes.php
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
jeking
Check this file:
\includes\modules\YOUR_TEMPLATE\attributes.php
That's where the Out of Stock message is generated which is defined in:
\includes\languages\english\extra_definitions\products_with_attributes.php
Ok, I admit that my PHP skills are damn near non-existant, but in the version of attributes.php that I am looking at, I see code for radiobuttons, checkboxes, and text areas but nothing for drop-downs. Do I somehow have the wrong version of the file or do I simple have no bloody clue what I'm looking for? (and thank you for your response and help! I appreciate it!)
Mal
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
jeking
Check this file:
\includes\modules\YOUR_TEMPLATE\attributes.php
That's where the Out of Stock message is generated which is defined in:
\includes\languages\english\extra_definitions\products_with_attributes.php
Ok, I admit that my PHP skills are damn near non-existant, but in the version of attributes.php that I am looking at, I see code for radiobuttons, checkboxes, and text areas but nothing for drop-downs. Do I somehow have the wrong version of the file or do I simple have no bloody clue what I'm looking for? (and thank you for your response and help! I appreciate it!)
Mal
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
Malaperth
It may be an issue of adding an item that already has a stock quantity of zero. The customer wanted to have all the scents of products shown, but shown "Out Of Stock" so people would know what was available. That may not work. I have deleted all the 'initial zero' products (the customer was NOT pleased), and now we will have to see what happens when an item sells out.
Mal
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Seems my reply from earlier did not post...
with all due respect, I'd have to guess 'no bloody clue'. Check your PM.
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Well, I now have it working as far as I know. We'll see what happens when a product reaches zero quantity.
But, I have another issue. The customer does not like the Qty: 4 that appears. Thinks it will be too confusing for customers of the site. So now I'm supposed to fit about the contents of War and Peace into that drop-down box. It may be code blindness or irritation, or as mentioned not having a bloody clue, but I cannot find the place to adjust the size of that particular drop-down box. I would appreciate a point in the right direction.
Mal
And thank you for putting up with an old fart with no patience and apparently less coding skills and helping me out.
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
It's set in the stylesheet.css, line 84:
FORM, SELECT, INPUT {
display: inline;
font-size: 1em;
margin: 0.1em;
}
Be aware changing this will also change other inputs.
1 Attachment(s)
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
potteryhouse
Hi all,
Need some testers for this update, please only use/test on a development system, not a live site!
I have posted the updated SBA mod, this one is only usable with Zen Cart 1.5.3, this is due to the many changes that are specific to the new version.
I made updates and tested on a locally installed copy of Zen Cart 1.5.3, there are still a number of changes and additions I would like to make but I think it would be good if others tested this version and provided feedback on problems they encounter.
DO NOT use on a production site, this is for testing only. There are bugs I have not seen!!!
If anyone has suggestions to add or update in the instruction please send them so I can incorporate.
Changes / Updates
1. All affected files have been merged with Zen Cart 1.5.3 version.
2. Updated to the attributes.php file for getting attribute quantity and to support a new feature "change image on select" in a selection list.
3. Database table now has two additional fields, product_attribute_combo and title. These are to support future planned changes.
4. Many other smaller updates to improve user interface.
5. Installation script has many updates, and now supports installing the various "Optional SQL" command, also the Help screen notes have been updated. Additionally, the 'File Check" has been updated to find old/obsolete files from previous versions (user must manually remove files).
6. The AJAX folder has been removed, files are now located in the "includes\templates\YOUR_TEMPLATE\jscript" and admin folders as applicable.
Please provide feedback, with examples, screenshots, and explanations when you find problems. This is so I can more quickly duplicate the issue and make the update.
In the mean time I will be making a few other updates and fixes as I find them.
Thanks.
Nice job on the new plugin. Installation was a breeze!
1. One small language inconsistency. When adding adding a quantity for product variant. It says:
The Title will not be saved if "ALL" is selected.
The Title should be unique for each attribute and combination.
Description:
Title should be Description or vis versa.
2. I also noticed that what I fill in for Description does not show up when I click Submit. This may be part of the 'future planned changes' but wanted to mention in case it was a bug.
3. I get an error 'Missing or bad Quantity!' when trying to add a zero quantity. Attached is a screen shot. The item is from the default Zen Cart install, category 25, id 36, Hewlett Packard - by attributes SALE
Attachment 14444
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
jeking
Nice job on the new plugin. Installation was a breeze!
1. One small language inconsistency. When adding adding a quantity for product variant. It says:
The Title will not be saved if "ALL" is selected.
The Title should be unique for each attribute and combination.
Description:
Title should be Description or vis versa.
2. I also noticed that what I fill in for Description does not show up when I click Submit. This may be part of the 'future planned changes' but wanted to mention in case it was a bug.
3. I get an error 'Missing or bad Quantity!' when trying to add a zero quantity. Attached is a screen shot. The item is from the default Zen Cart install, category 25, id 36, Hewlett Packard - by attributes SALE
Thank you,
I found and corrected these bugs, the fix will be in the next draft I upload.