Announcement

Collapse
No announcement yet.

Default inventory message trumps message on inventory variant

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: Default inventory message trumps message on inventory variant

    Originally posted by Rick Wilson View Post
    That's how it's supposed to work, it's like a master on/off switch for that feature.
    Then I guess I'll have to open a support ticket to find out why that setting is trumping the In Stock setting I have set at the variant product's inventory tab. Strange that it's just the default In Stock message that is trumping the variant product's In Stock message and not the "Hide Out of Stock Products" settings which I have set to YES on the variant products' inventory tab and "unchecked" on the Store > Inventory settings. "Hide Out of Stock Products" is working perfectly for products with varied attribute inventory. So why isn't the "In Stock" message working for those same products? It's very weird.
    Last edited by skepticwebguy; 02-07-11, 01:24 PM.

    Comment


      #17
      Re: Default inventory message trumps message on inventory variant

      It's worth noting that the custom long inventory message shows up correctly on products for which "track inventory" is enabled when the product doesn't have inventory variants.

      The problem I am experiencing only shows up on products that have inventory variants. Then, my custom, long In Stock message is ignored and the master In Stock inventory message shows up regardless of variant selected when viewing the product in the store.

      Comment


        #18
        Re: Default inventory message trumps message on inventory variant

        From what I gather from this YouTube video (see around 1:25 min), the short OR long messages configured in the inventory settings in Store > Inventory are what display on products with attribute inventories.

        Also, I found this post which discusses where to change the inventory-message setting to show the LONG inventory message instead of the SHORT one, despite the fact that the PROD "Product Display Layout" template says to show the long inventory message product:inv_long).

        So, it would seem that the software is actually designed such that the Store > Inventory In Stock message is the ONLY place where the message gets set for products with attribute variants.

        This conclusion is consistent with my findings that changing the In Stock message on the variant product's inventory tab makes no difference whatsoever to the inventory message displayed for that variant.
        Last edited by skepticwebguy; 02-07-11, 02:32 PM.

        Comment


          #19
          Re: Default inventory message trumps message on inventory variant

          Originally posted by skepticwebguy View Post
          Strange that it's just the default In Stock message that is trumping the variant product's In Stock message and not the "Hide Out of Stock Products" settings which I have set to YES on the variant products' inventory tab and "unchecked" on the Store > Inventory settings. "Hide Out of Stock Products" is working perfectly for products with varied attribute inventory.
          What about the Out of Stock message? I am looking to overwrite my options that are out of stock with an out of stock message, but I can't figure out how to do that.

          Example:

          Option 1 - in stock = [] Option 1
          Option 2 - Out of Stock = Out of Stock

          Might there be a conditional statement to place in the product attribute template?? I've been testing out statements, but so far no luck.
          Here's something I've tried...
          Code:
          <mvt:elseif expr="l.settings:attribute:type EQ 'radio'">
              <mvt:foreach iterator="option" array="attribute:options">
               <div>
               <mvt:if expr="( ( g.Product_Attributes[l.settings:attribute:index]:value EQ 0 ) AND
                   ( l.settings:option:id EQ l.settings:attribute:default_id ) )   OR
                   ( g.Product_Attributes[l.settings:attribute:index]:value EQ l.settings:option:code )">
                <input type="radio" name="Product_Attributes[&mvt:attribute:index;]:value" value="&mvte:option:code;" checked />
               <mvt:else>
                <input type="radio" name="Product_Attributes[&mvt:attribute:index;]:value" value="&mvte:option:code;" />
               </mvt:if>
               <mvt:if expr="l.settings:option:image">
                <img src="&mvte:option:image;" alt="&mvte:option:prompt;" />
               <mvt:else>
                <mvt:if expr="l.settings:product:inv_level NE 'out'">&mvt:product:inv_long;
                  <mvt:else>&mvte:option:prompt;
               </mvt:if>
               </mvt:if>
               </div>
              </mvt:foreach>
          Last edited by dawg1; 07-27-11, 10:05 AM.
          Dawgwear.net http://www.dawgwear.net
          Facebook - http://www.facebook.com/pages/Dawgwear/16030104618

          Comment

          Working...
          X