Announcement

Collapse
No announcement yet.

Getting closer to Build-A Basket product

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

    Getting closer to Build-A Basket product

    I'm including my attempt to get the Build-A-Basket configured. I'm having some issues that may be related to the Levels ReadyTheme or just maybe things I'm missing.

    I've been able to create a customized PROD Page template that enables the customer to add the quantities of items to a style/size of basket. I want to be able to show the different baskets with the Swatch swap attribute. I'm not getting any product image to display (yes I have assigned one to the product).

    http://www.dutchbaskets.com/product/custom-basket.html

    I'm having some problems making a couple of the attributes required work. Even though the field has content, the BASK page is displaying the "missing a required attribute" message

    Something that I would like to figure out will be how to change the selected basket's thumbnail image on the BASK screen. Currently it's displaying the image that has been assigned as the "main" Image Type.

    There is another negative side to using attribute quantities this way, each attribute gets listed as a separate product on the BASK screen. I'd love to be able to get it to group as one product.

    LOL, one step forward, two steps back.

    Suggestions are welcome
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    Hi Leslie,

    If you have created variants and added the correct image as the main image to them, that should be the image displayed in the mini-basket.
    Matt Zimmermann

    Miva Web Developer
    Alchemy Web Development
    https://www.alchemywebdev.com
    Site Development - Maintenance - Consultation

    Miva Certified Developer
    Miva Professional Developer

    https://www.dev4web.net | Twitter

    Comment


      #3
      Originally posted by Matt Zimmermann View Post
      Hi Leslie,

      If you have created variants and added the correct image as the main image to them, that should be the image displayed in the mini-basket.
      Well, not sure what happened but the product doesn't work at all now. Before I created the Inventory Variants, I was able to add to the cart. Now it adds nothing. It goes to the BASK screen but the cart is empty...

      FYI - changing the attribute type back to Drop Down fixes the problem. Do I need to set an inventory level for these?
      Last edited by lesliekirk; 10-25-17, 10:59 AM.
      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment


        #4
        I had to go back in and remove the "I" selection from the "Select Your Basket" attribute. Now the quantity attributes work again BUT none of the other attributes are being included in the cart (BASK screen). I'm thinking I need to figure out where I goofed up the attribute template. That might be why I'm having the other issues, including the popup message that seems to come and go...
        Leslie Kirk
        Miva Certified Developer
        Miva Merchant Specialist since 1997
        Previously of Webs Your Way
        (aka Leslie Nord leslienord)

        Email me: [email protected]
        www.lesliekirk.com

        Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

        Comment


          #5
          I think my problem is with the mixture of coding that is being used. To create the attribute quantity fields, a Toolkit snippet has been used. This code is used to replace the existing radio button

          Code:
          <div style="width:100%;" align="center">
              <mvt:item name="toolkit" param="sassign|current_nbr|0"/>  
                 <mvt:foreach iterator="option" array="attribute:options">
                 <div class="radiobut" style="width:200px; float:left; display:inline; height:300px; margin-right:20px;">
                          <mvt:item name="toolkit" param="counter|current_nbr" />
                          <img src="&mvt:option:image;" alt="&mvt:option:prompt;" title="&mvt:option:prompt;"><br>          
                         <input type="hidden" name="Products[ &mvt:option:id; ]:code" value="&mvte:product:code;" />
                  <input type="hidden" name="Products[ &mvt:option:id; ]:attributes[ &mvt:attribute:index; ]:code" value="&mvte:attribute:code;">
                  <input type="hidden" name="Products[ &mvt:option:id; ]:attributes[ &mvt:attribute:index; ]:value" value="&mvte:option:code;" class="textfield">
          
                  &mvte:option:prompt;<br>
          &mvte:option:formatted_price;<br>
          Qty: <input type="text" name="Products[ &mvt:option:id; ]:quantity" value="" class="textfield">        
                      </div>
                  </mvt:foreach>
          
                 <input type="hidden" name="Product_Attributes[ &mvt:attribute:index; ]:code" value="&mvte:attribute:code;" />
                      <mvt:if expr="l.settings:attribute:template_code NE 0">
                          <input type="hidden" name="Product_Attributes[ &mvt:attribute:index; ]:template_code" value="&mvte:attribute:template_code;" />
                      </mvt:if>
          
                  </div>
          Is this code doing something to cause the other attributes not work correctly?

          Leslie Kirk
          Miva Certified Developer
          Miva Merchant Specialist since 1997
          Previously of Webs Your Way
          (aka Leslie Nord leslienord)

          Email me: [email protected]
          www.lesliekirk.com

          Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

          Comment


            #6
            At this point in time, the store owner has asked me to deactivate this product. In my opinion, it's been a failure.
            Leslie Kirk
            Miva Certified Developer
            Miva Merchant Specialist since 1997
            Previously of Webs Your Way
            (aka Leslie Nord leslienord)

            Email me: [email protected]
            www.lesliekirk.com

            Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

            Comment

            Working...
            X