Results 1 to 10 of 119

Threaded View

  1. #29
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Re: "Stock by Attributes" (version 1.5.3). This MOD is ONLY for Zen Cart 1.5.1 ..whad

    Quote Originally Posted by mc12345678 View Post
    Okay, gotcha now... Read only and for display purposes only are two different things. Technically, if SBA (truly Dynamic Dropdowns) properly only displayed the data not requiring the user to select the value of the Read Only attribute, then CSS could be used to visually hide the read only attribute. This would still provide the data to the webpage, but not to the user...

    As for the two drop down styles: the SBA select List (Dropdown) is primarily only supported in single attribute scenarios at the moment. The difference is that html coding is supported in that dropdown style permitting things like bold text, greying of the box when out-of-stock, etc... These characteristics are intended to be incorporated into multi-attribute product, but there are other corrections/items to incorporate necessary first.

    When using the display only aspect, is that the only value in that option name? Or is it just one of many values in the option name. If the only value, then it should be setup as a read only option name type. (Meaning the above is incorrectly setup). If say the first of many option values, then I can't say I see how it is being used to obtain the desired result.


    First, I do understand this mod version is still beta and a work in progress. Some of this may be repititious so please excuse my jabbering, but I typed as I went along testing and trying to understand how things work. I have been working with SBA some more and this is the general setup needed for majority of our products.

    Some testing attributes


    option name

    color - dropdown
    option values : red, blue


    option name

    size - dropdown
    option values : 10, 12

    option name

    gender - read only
    option values : female, male, unisex

    option name

    age group - read only
    option values : adult, child

    The intention is to hide the read-only attributes. They are for google merchant center and don't need to be visible on the page


    When stock variants are set up for color and size the read only attributes are being included in the selection proccess on the product info page.

    Hoping maybe these scripts might separate them I ran some of the optional scripts found in configuration > products with attributes stock

    * add product attributes that are NOT read only

    * default SQL - only add the product attributes that are NOT read only and are NOT the new SBA selections

    Neither of these scripts did what I was hoping and actually I didn't notice anything different after they were run.

    If the read only attributes are at the top of the list the first attribute must be selected in order to continue making selections. If the read only attributes are at the bottom of the list they must still be selected in the process with the last one displaying the quantity in stock.

    Initially I had planned on using the flexible attributes module (I tried and got unfavorable results) but found the attribute output code for products setup with SBA is using tables whereas the attributes not set up with SBA the attribute code is output with divs. So it looks like the flexible attributes module is not going to be compatible.

    Also if the read only attributes can not be separated from the selection process then hiding them would make it impossible to complete the selection proccess.



    What you said here

    ""In your case, need to build variants that include all attributes together as a single variant, not all selectable product information as a variant and then just add the read only attribute to the product...""

    wasn't quite sure what you meant so what I did was set up the variants adding quantities for color and size and left gender and age group as N/A. On thee product info page trying to make selections I get 'out of stock warnings' The product variants add up correctly to the product listing quantity.

    I then ran the default script and that allowed me to make the selections.



    Also you asked

    ""When using the display only aspect, is that the only value in that option name? Or is it just one of many values in the option name. If the only value, then it should be setup as a read only option name type. (Meaning the above is incorrectly setup). If say the first of many option values, then I can't say I see how it is being used to obtain the desired result.
    ""

    While the read only options have several values set up only one value is displayed on the product info page.

    So one product may have gender female another product may have gender male. But on any given page it would be only one value displayed.
    Last edited by buildingblocks; 19 Apr 2015 at 08:29 PM.

 

 

Similar Threads

  1. v151 USPS module version for RateV4, Zen Cart 1.5? / "Online Rate" vs. "Post Office Price"
    By CarolineBogart in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 10 Dec 2012, 03:36 AM
  2. Comment out "Check for Updates" Button, "Support Site" Link, & "Version" Link?
    By g00glethis1 in forum Customization from the Admin
    Replies: 4
    Last Post: 15 Mar 2010, 06:32 AM
  3. Show "Units In Stock" for certain product only.
    By laydiefa in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 26 Nov 2008, 08:08 PM
  4. Replies: 2
    Last Post: 8 Jun 2008, 07:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR