Merge code to return raw base price (even when retail price applied)
CompletedOne feature I would love to see would be a merge code that returns the base price without commas or currency symbol even if the retail price is higher than the base price. Right now ##RAWPRICE## outputs the retail price in such cases.
Context: I'm working with a customer who uses a difference in retail/base to outline two different prices that are "striked out" on products with MAP pricing. The actual MAP price is returned on the cart page as usual.
This works great, except when it comes to Rich Snippets markup - in order to avoid violating manufactuer MAP guidelines, we can't feed the higher retail price to Google, and at the moment, the only two merge codes that I know of that would return undecorated pricing both return the retail price.
That's a rather specific example, but I could picture other use cases (custom front-end dev to highlight discounts, etc.). Just thinking out loug!
-
Official comment
##PRICE##
##PRICERAW## - renders an non decorated price without commas or currency symbols##BASEPRICE##
##BASEPRICERAW## - renders an non decorated price without commas or currency symbols##RETAIL##
##RETAILRAW## - renders an non decorated retail price without commas or currency symbols##COST##
##COSTRAW## - renders an non decorated cost without commas or currency symbols🙂
-
I agree!
Base Price needs to be passed, not retail price
1
Please sign in to leave a comment.
Comments
2 comments