Knowledgebase:
Removing attribute option data
Posted by , Last modified by on 23 May 2016 08:35 AM

Disclaimer: This will work for stores on Miva Version 9.0 or newer. Note that this will require making template changes. Make sure you make sure you are aware of what version was active before any changes are made. These edits are low-risk but if you feel uncomfortable with making these changes then we advise you to seek help from a developer.

 

Objective: These are instructions will aid in removing $-0.00 from attribute choices 

 

Example:

 

 

 

Issue(s): Sold out button still displays when I select an attribute that is in stock but the button is clickable.

 

  Remove the following from the radio button if statement <mvt:elseif expr="l.settings:attribute:type EQ 'radio'">


<mvt:if expr="l.settings:option:price">
<mvt:if expr="l.settings:option:price GT 0">
&nbsp;<mvt:eval expr="'+ $' $ rnd(l.settings:option:price, 2)" />
<mvt:else>
&nbsp;<mvt:eval expr="'- $' $ rnd(l.settings:option:price, 2)" />
</mvt:if>

 

(0 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako support.miva.com/supportsuite/index.php?