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?
Announcement
Collapse
No announcement yet.
Category Listing Component - Price Prefix
Collapse
X
-
Category Listing Component - Price Prefix
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
Tags: None
-
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
-
I have numerous stores that have something like "Price" or "MSRP" or "Our Price" or "Sale Price" that precedes the amount.Originally posted by Nick View Postlesliekirk 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?
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
-
That can be done by following these steps:- User Interface > Templates select the Fragments tab.
- Select Add Fragment button
- Fragment Name: Price Display
- Fragment Code: PRICE_DISPLAY
- Start with Blank Fragment.
- Create Fragment
- Sample template code to add then select Update:
<p>MSRP: &mvt:product:formatted_base_price;</p>
<p>Our Price: &mvt:product:formatted_price;</p> - 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
Nicholas Adkins
Technical Training Specialist / Miva, Inc.
[email protected]
https://www.miva.com/mivalearn
Comment
-
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.Originally posted by Nick View PostThat can be done by following these steps:- User Interface > Templates select the Fragments tab.
- Select Add Fragment button
- Fragment Name: Price Display
- Fragment Code: PRICE_DISPLAY
- Start with Blank Fragment.
- Create Fragment
- Sample template code to add then select Update:
<p>MSRP: &mvt:product:formatted_base_price;</p>
<p>Our Price: &mvt:product:formatted_price;</p> - 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
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
-
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
Comment