.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Looking at the includes/modules/attributes.php changes identified in the above commit, didn't see the "special" case of a dropdown with a single value that results in a radio button instead of a dropdown... Not having tried to use those features, I don't have a suggestion for addressing it, but would certainly want to be sure that one or the other side recognized/addressed that.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
small thing, enabling and disabling products
while browsing categories products you click on red / green button this is what its called
but when in product i think you could be confused into thinking you are switching product to out of stock or instock rather than enable / disable
unless there is a reason for this. if they do the same job call them the same
bn
Well, I guess I meant there is no "unique" consideration for that condition...
Maybe a drprad setting? Therefore the "handler" can determine which way to go with it? Treat it as a radio button or treat it as a dropdown?Code:$options_html_id[] = 'drp-attrib-' . $products_options_names->fields['products_options_id']; $options_menu[] = zen_draw_radio_field('id[' . $products_options_names->fields['products_options_id'] . ']', $products_options_value_id, 'selected', 'id="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '-' . $products_options_value_id . '"') . '<label class="attribsRadioButton" for="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '-' . $products_options_value_id . '">' . $products_options_details . '</label>' . "\n";
Oh and sorry for any # symbols in the above code. Happens typically when I copy on cell phone from github to post. I doubt I can get them all out once posted and then tryng to edit.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
minor thing in configuration maximum values most items have a better description for title except these
Products on Special
New Products Module
Upcoming Products
bn
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
you lost me there ...
but when editing a product it says in stock or out of stock, but if you click either it enables or disables
if thats the way its meant to be thats ok, but for me i have plenty of products on my site out of stock but don't want them switched off
bn
Bookmarks