Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
Malaperth
Jeking, go to sweetsagescents.com, click on the Wax Tarts category and check out the dropdown on the product ***SALE, SALE, SALE*** Sale Scent Shots. The first out of stock is in black type, the rest are 'greyed out'. At this point, I don't have the time to do any debugging or even look at the tools that are available in Firefox, but at least now you can see what I mean and that I'm not crazy (well, not for that reason anyway... ;) ).
Mal
Not sure what version of Zen Cart you're using but in Zen Cart 1.5.4 if you don't want them to grey out then you have the set Configuration > Stock > Allow Checkout = True. However it will do as it says, allow customers to checkout even though the item is not in stock. I recommend to keep it set to False though just for the overall customer experience.
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
Invizix
Not sure what version of Zen Cart you're using but in Zen Cart 1.5.4 if you don't want them to grey out then you have the set Configuration > Stock > Allow Checkout = True. However it will do as it says, allow customers to checkout even though the item is not in stock. I recommend to keep it set to False though just for the overall customer experience.
I've added the "greying" out of the options for multiple attributes for when out-of-stock items is displayed and meets a few other conditions for consistency between multiple attributes and single. The grey out on the single attributes was to prevent selection of the out-of-stock item(s) when not allowed to add an out-of-stock item to the cart both for functionality and appearance. Now that there is more cart control to the code, that grey out option technically could be made a selectable choice. Seems that it should be a css controlled aspect, but information varies through internet searches depending on the browser used by the visitor and the version of that browser.
Haven't uploaded this changed code as I want to tackle a couple of other things first and have had some work to do for other clients. Should have it up hopefully soon though.
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
mc12345678
I've added the "greying" out of the options for multiple attributes for when out-of-stock items is displayed and meets a few other conditions for consistency between multiple attributes and single. The grey out on the single attributes was to prevent selection of the out-of-stock item(s) when not allowed to add an out-of-stock item to the cart both for functionality and appearance. Now that there is more cart control to the code, that grey out option technically could be made a selectable choice. Seems that it should be a css controlled aspect, but information varies through internet searches depending on the browser used by the visitor and the version of that browser.
Haven't uploaded this changed code as I want to tackle a couple of other things first and have had some work to do for other clients. Should have it up hopefully soon though.
The code is functioning as it is supposed to and putting the item out of stock. The issue was literally the difference between the color of the "Out of Stock" message itself. In some parts it is black and in some parts it is grey. I cannot find the place(s) that it sets the colors in the css file or where it is set programatically, that is my issue. My apologies for not making that clear earlier. I am just confused since it must somehow be following two different code paths and I cannot find either.
Mal
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
Malaperth
The code is functioning as it is supposed to and putting the item out of stock. The issue was literally the difference between the color of the "Out of Stock" message itself. In some parts it is black and in some parts it is grey. I cannot find the place(s) that it sets the colors in the css file or where it is set programatically, that is my issue. My apologies for not making that clear earlier. I am just confused since it must somehow be following two different code paths and I cannot find either.
Mal
To help a little further considering that this has been requested before in one way or another, please provide a product link to two products that meet the following criteria:
1. Each product has one attribute.
2. Each product has at least one selection that is out of stock.
3. Both links are on the same site.
4. Each link points to a different product where one shows an out-of-stock option as greyed out the other to a product that shows the "black" attribute for the out-of-stock option.
If product does not match the above criteria, then the issue is being addressed through the greying out option described above.
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
mc12345678
To help a little further considering that this has been requested before in one way or another, please provide a product link to two products that meet the following criteria:
1. Each product has one attribute.
2. Each product has at least one selection that is out of stock.
3. Both links are on the same site.
4. Each link points to a different product where one shows an out-of-stock option as greyed out the other to a product that shows the "black" attribute for the out-of-stock option.
If product does not match the above criteria, then the issue is being addressed through the greying out option described above.
sigh... It figures. I update the site every Friday and just finished. It was present when I sent the reply to Jeking earlier in the thread and there were grey and black out-of-stock messages in the same dropdown (single attribute, same site). I will PM you when it happens again.
Mal
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
Invizix
Not sure what version of Zen Cart you're using but in Zen Cart 1.5.4 if you don't want them to grey out then you have the set Configuration > Stock > Allow Checkout = True. However it will do as it says, allow customers to checkout even though the item is not in stock. I recommend to keep it set to False though just for the overall customer experience.
Invizix, it was the color of the text and not the functionality which is why I mentioned grey and black text. I should not have used the term "greyed out" as that has other connotations.
Mal
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
simon1066
Zen v1.54
SBA v1.54
Zen Magnific v1.5
DPU v3.0.2
I been attempting to debug the 'second SBA dropdown not working' on my site. Looking at the thread I can see that a couple of things have been tried i.e. validating the page to sort problems with broken tags etc - done. Incorporating an edit by mc12345678 into pad_sba_sequenced_dropdowns - done I'm using the latest from github.
I think I've now isolated the problem to a conflict with Dynamic Price Updater, if I turn it off then the SBA dropdowns work. As there are no common files between the two mods I think it might be a jscript issue. I've been looking for conflicts as much as I'm able but still no joy.
It's time to ask for help. Has anyone had this conflict between the two mods?
I have it on a test site if it helps and would rather PM you the link if you don't mind.
Here's a post I made to the wrong thread by mistake, quoting it here as it belongs here.
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Ok, fresh install of zencart 1.54, DPU_3.0.2 & stock_by_attribute_1.5.4-mc12345678_ZC154
the second dropdown of sba_sequenced_dropdowns does not populate, turn off DPU and it works. So regardless of my other confused posts in SBA threads - I'm probably not losing it.
Dynamic Dropdown settings:
Enable Dynamic Dropdowns 2
Product Info Single Attribute Display Plugin multiple_dropdowns
Show Out of Stock Attributes True
Product Info Multiple Attribute Display Plugin sba_sequenced_dropdowns
Mark Out of Stock Attributes Right
Display Out of Stock Message Line True
Prevent Adding Out of Stock to Cart True
SBA Number of Records to Displayed 25
Settings in admin/catalog/products_with_attributes_stock_(SBA)
- added attribute quantities in for product_id 1 (Matrox G200 MMS) - 'All attributes combo for both 'model' and 'memory' option names - quantity '1',
- synced quantities
DPU settings
Dynamic Price Updater Status false
Dynamic Price Updater Version 3.0
Where to display the price productPrices
cart_quantity
Where to display the weight productWeight
show a small loading graphic true
Show currency symbols true
Show product quantity false
Where to display the second price cartAdd
mc12345678, as it seems you are doing most of the current work on this mod, perhaps you can use this information to debug SBA or perhaps DPU which I think is Design75/Chrome's contribution.
Surprising that I might be the first to highlight this, these two excellent mods go so well together - but then I think the dynamic dropdowns are a relatively new inclusion into SBA, I could be mistaken though.
cheers
Simon
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Reading this now trying to pay attention to all of the details. First thing I see is that using the branch that is not currently up-to-date with the master... Nice try, but the mc12345678_ZC154 branch is now like 6 commits behind the master (https://github.com/potteryhouse/stoc...ZC154...master). It might explain some of the non-functionality seen as there were still a few thiings presented javascriptwise that were causing issues... Yes, yes, yes I get it that so many things to keep up with and possibly confusing, and and and... We're all doing what we can with the "free" time available as energy is focused on those things that provide income... (This last part is/was not exactly pointed at you simon1066, but I can read the signs of things to come... :P)
As still working on some of the fundamentals of the code to ensure the stability and groundwork needed to support such additional plugins, I have had a go with that one (though expect it to be a huge plus to the code)
Anyways, long and short, may I suggest trying the master branch and then providing the detailed feedback that would be necessary to resolve issues of that branch.
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Correction (key presses not registered and then ran out of time to save the edit):
Quote:
As still working on some of the fundamentals of the code to ensure the stability and groundwork needed to support such additional plugins, I have *NOT* had a go with that one (though expect it to be a huge plus to the code)