Welcome to Vortx Community Forum, where you can ask questions and receive answers from the staff at Vortx and other members of the community.

If you had a user account on our previous forums website, you will need to register a new account here.

Learn more about...


code in view to hide add to cart button

We have version 10, do not have source just access to views, css, xmlpackages and scripts. We need to hid the add the add to cart button and add a message to call if producdt is over a certain price.

any suggestions for this?

closed with the note: The question was answered
asked Jul 2, 2018 in MultiStore by softseas (125 points)
closed Jul 2, 2018 by softseas

If you are still look for options dte code below will work in the Product XmlPackage.
I use the product.TabbedUI.xml.config XmlPackage

         <!--Hides all pringing and buy button if price is greater-than-equal-to $60.00 -->
         <xsl:when test="(number(Price) &gt;= 60)">
              <p>Call For Price</p>
                  <div id="variant-info-wrap" class="variant-info-wrap">
                        <xsl:for-each select="/root/Products/Product">
                             <xsl:call-template name="VariantInfo" />

1 Answer

0 votes
Best answer
When editing a product, on the "main" tab, there is an option to set product to "is call to order"...
answered Jul 2, 2018 by jhausotter (375 points)
selected Jul 2, 2018 by softseas