Announcement

Collapse
No announcement yet.

Shadows 10.12.02 PROD Page Tabbed Content Conflict

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

    #16
    Originally posted by Mark Hood View Post

    If I understand this correctly we should be able to create a flex component that this will work in?
    Code:
    <mvt:if expr="NOT ISNULL l.settings:product:customfield_values:customfields :variant_price_range">
    &mvt:product:customfield_values:customfields:variant_price_range;
    <mvt:else>
    <mvt:if expr="ISNULL l.settings:product:customfield_values:customfields:nobuy">
    <mvt:if expr="l.settings:product:price GT '0.00'">
    <mvt:if expr="l.settings:product:base_price GT l.settings:product:price">
    <span class="x-product-list__price_set">
    <span class="x-product-list__price u-text-bold">&mvt:product:formatted_price;</span>
    <span class="x-product-list__price u-color-gray-500 u-text-medium"><s>&mvt:product:formatted_base_price;</s></span>
    </span>
    <mvt:else>
    <span class="x-product-list__price">&mvt:product:formatted_price;</span>
    </mvt:if>
    <mvt:item name="readytheme" param="contentsection( 'mvaffirm_configuration' )" />
    </mvt:if></mvt:if> </mvt:if>
    If you add that code to a Page Fragment, then using the Product List Flex Component you can add the fragment to the flex component:

    PLFC_DEtails.JPG
    Nicholas Adkins
    Technical Training Specialist / Miva, Inc.
    [email protected]
    https://www.miva.com/mivalearn

    Comment


      #17
      Seems to display the just the regular price but ignores the custom fields so I probably missed something. Still shows if nobuy and doesn't show the range prices or sale pricing

      I did assign customfields to the fragment...
      Mark Hood
      Vermont Gear

      Comment

      Working...
      X