Announcement

Collapse
No announcement yet.

Base Ready Theme - still says add to cart even when sold out

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

    Base Ready Theme - still says add to cart even when sold out

    Have the base readytheme and need help with these two things.

    #1 The button when sold out still says add to cart.
    #2 When on product page if someone does not pick an option in the dropdown it does not give an error message to indicate what the problem is. Nothing changes and it looks broken.

    #2
    Re: Base Ready Theme - still says add to cart even when sold out

    For #1, that is the default functionality of Miva. It does not change the button text but instead disables the add to cart button. This can be modified using JavaScript to get the desired functionality you're looking for

    #2 - By default the first option should be selected. Do you have a select one in the drop down? If nothing is selected and the attribute is required, it should take you to the missing product attributes page with a error message. Make sure you have the attribute set to required.
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Re: Base Ready Theme - still says add to cart even when sold out

      I think you can also do #1 buy wrapping the add to cart in a conditional if I'm not mistaken.

      <mvt:if expr="l.settings:product:inv_level NE 'out'">
      add to cart
      <mvt:else>
      message
      </mvt:if>
      Mark Hood
      Vermont Gear

      Comment

      Working...
      X