Announcement

Collapse
No announcement yet.

Variants and attribute display on the product page

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

    Variants and attribute display on the product page

    Hi folks --

    I'm working on a project that involves inventory counts for product variants. On the product page, if you select a size/color combination that isn't available, nothing happens when you click Add To Basket. Is that normal? Is there a way to get it to display an explanatory message for the customer?

    Thanks --
    Kent Multer
    Magic Metal Productions
    http://TheMagicM.com
    * Web developer/designer
    * E-commerce and Miva
    * Author, The Official Miva Web Scripting Book -- available on-line:
    http://www.amazon.com/exec/obidos/IS...icmetalproducA

    #2
    Re: Variants and attribute display on the product page

    You could display the stock level of each variant before they select it. Presumably they won't even try to buy a sold out product, so they won't waste their time. http://www.emporiumplus.com/SAMPLE5.html
    Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
    Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
    Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
    Facebook http://www.facebook.com/EmporiumPlus
    Twitter http://twitter.com/emporiumplus

    Comment


      #3
      Re: Variants and attribute display on the product page

      Thanks for the idea, Bill.

      Still, it bothers me to have a button on the page that sometimes works, and sometimes doesn't, without any explanation for the customer. Has anyone got a fix for that?

      Thanks --
      Kent Multer
      Magic Metal Productions
      http://TheMagicM.com
      * Web developer/designer
      * E-commerce and Miva
      * Author, The Official Miva Web Scripting Book -- available on-line:
      http://www.amazon.com/exec/obidos/IS...icmetalproducA

      Comment


        #4
        Re: Variants and attribute display on the product page

        You could make the out of stock option hidden or grey it out based on the inventory level. Hidden may turn away a sale, so it would be better to grey out and make a wait list available.
        Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
        Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
        Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
        Facebook http://www.facebook.com/EmporiumPlus
        Twitter http://twitter.com/emporiumplus

        Comment


          #5
          Re: Variants and attribute display on the product page

          I've played around with some JQuery/CSS for this type of thing. When the options are out of stock, the add to cart button is disabled. Use this bit of jquery to change the button text. Then apply a css rule to the disabled button.

          JQuery:
          Code:
          // ---- Disabled Button ---- //
          $( "input:disabled" ).val( "Out Of Stock" );
          CSS:
          Code:
          button[disabled]:active, button[disabled],
          input[type="button"][disabled]:active,
          input[type="button"][disabled]:hover,
          input[type="button"][disabled],
          input[type="submit"][disabled]:active,
          input[type="submit"][disabled]:hover,
          input[type="submit"][disabled] {
            color: GrayText !important;
            background: #763F98 !important;
            cursor: inherit;
          }
          Ron Frigon
          Jedi Webmaster Obi-Ron Kenobi

          Comment


            #6
            Re: Variants and attribute display on the product page

            Nice! Thanks Ron.
            Kent Multer
            Magic Metal Productions
            http://TheMagicM.com
            * Web developer/designer
            * E-commerce and Miva
            * Author, The Official Miva Web Scripting Book -- available on-line:
            http://www.amazon.com/exec/obidos/IS...icmetalproducA

            Comment

            Working...
            X