Announcement

Collapse
No announcement yet.

Display Attribute Price on CTGY Page

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

  • afiumano
    replied
    I currently use a custom field to simply show the range - I was just hoping this solution could be altered to work for the category page as well so that we didn't have so much manual entry of the ranges, as well as upkeeping those when prices change.

    Leave a comment:


  • Matt Zimmermann
    replied
    The two simplest solutions to showing the "base" price on the category page would be to populate the master product with the lowest price available or use a custom product field to display the starting price.

    Leave a comment:


  • afiumano
    replied
    Does anyone know how to get this working properly on the CTGY page?

    Leave a comment:


  • afiumano
    replied
    I need to accomplish this as well - I need to show the low - high range for each product on the CTGY page. The code sample works great on the PROD page, but when I add it to the CTGY page it isn't working - just shows $0.00 for the low and high.

    Leave a comment:


  • Matt Zimmermann
    replied
    Hi Leslie,

    You may be able to use this as an alternate to get you started. One part of it is that you will need Toolkit...unless someone has updated code to not need it. https://docs.miva.com/code-samples/variant-price-range

    Leave a comment:


  • lesliekirk
    started a topic Display Attribute Price on CTGY Page

    Display Attribute Price on CTGY Page

    Store has product prices of 0.00 because the pricing is in the attribute. I need to be able to display that attribute price on the CTGY page. I'm thinking I will need to add the <mvt:item name="attributemachine" param="head_deferred" /> to the HEAD tag and <mvt:item name="attributemachine" param="body_deferred" /> in the body (after the <mvt:item name="category_listing" /> token?). What Items need to be assigned? The attributemachine and product_attributes?

    Again I was attempting to set off the smoke detectors when I wondered about using this

    Code:
    <mvt:foreach iterator="attribute" array="attributes">
        <!-- Attribute Price -->
    <span class="x-product-list__price" style="display:block; line-height: 1.4; font-weight: normal;">&mvt:attribute:formatted_price;</span>
    </mvt:foreach>
    While I didn't break anything, it doesn't display the Attribute Price.

Working...
X