Announcement

Collapse
No announcement yet.

Category Listing Component - Price Prefix

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

    Category Listing Component - Price Prefix

    I noticed that the Category Listing Component Product Card Name Details has the ability to include a Prefix and a Suffix, but the Price does not. Will this be added at some point? Is there a current workaround?
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    lesliekirk Just for clarification, you are looking for the ability to add a custom prefix or suffix to the output of the product price? I am not sure I understand the use case for the customization, can you explain the feature you are looking to achieve?
    Nicholas Adkins
    Technical Training Specialist / Miva, Inc.
    [email protected]
    https://www.miva.com/mivalearn

    Comment


      #3
      Originally posted by Nick View Post
      lesliekirk Just for clarification, you are looking for the ability to add a custom prefix or suffix to the output of the product price? I am not sure I understand the use case for the customization, can you explain the feature you are looking to achieve?
      I have numerous stores that have something like "Price" or "MSRP" or "Our Price" or "Sale Price" that precedes the amount.

      Price: $3000.00
      Our Price: $2000.00

      MSRP: $40,000.00
      Our Price: $4,000.00

      Price: $4,000.00
      Sale Price: $3.000.00

      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment


        #4
        That can be done by following these steps:
        1. User Interface > Templates select the Fragments tab.
        2. Select Add Fragment button
          • Fragment Name: Price Display
          • Fragment Code: PRICE_DISPLAY
          • Start with Blank Fragment.
          • Create Fragment
        3. Sample template code to add then select Update:
          <p>MSRP: &mvt:product:formatted_base_price;</p>
          <p>Our Price: &mvt:product:formatted_price;</p>
        4. Navigate to Page Builder and select page with product list component, for example CTGY page.
          • Add Detail to Product card
          • Detail Name: Product Price Display
          • Type: Fragment
          • Fragment: PRICE_DISPLAY
        Following these steps will give you a customizable fragment that will achieve the feature.
        Nicholas Adkins
        Technical Training Specialist / Miva, Inc.
        [email protected]
        https://www.miva.com/mivalearn

        Comment


          #5
          Originally posted by Nick View Post
          That can be done by following these steps:
          1. User Interface > Templates select the Fragments tab.
          2. Select Add Fragment button
            • Fragment Name: Price Display
            • Fragment Code: PRICE_DISPLAY
            • Start with Blank Fragment.
            • Create Fragment
          3. Sample template code to add then select Update:
            <p>MSRP: &mvt:product:formatted_base_price;</p>
            <p>Our Price: &mvt:product:formatted_price;</p>
          4. Navigate to Page Builder and select page with product list component, for example CTGY page.
            • Add Detail to Product card
            • Detail Name: Product Price Display
            • Type: Fragment
            • Fragment: PRICE_DISPLAY
          Following these steps will give you a customizable fragment that will achieve the feature.
          Cool, thanks Nick. I would suggest that it be included natively with Page Builder if the ultimate goal is for the store owner to be able to use it without the need for doing stuff like this.
          Leslie Kirk
          Miva Certified Developer
          Miva Merchant Specialist since 1997
          Previously of Webs Your Way
          (aka Leslie Nord leslienord)

          Email me: [email protected]
          www.lesliekirk.com

          Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

          Comment


            #6
            FYI - don't forget to make it "Public"
            Leslie Kirk
            Miva Certified Developer
            Miva Merchant Specialist since 1997
            Previously of Webs Your Way
            (aka Leslie Nord leslienord)

            Email me: [email protected]
            www.lesliekirk.com

            Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

            Comment

            Working...
            X