Hello to all
Please see the attached photo
After applying the price to the product, it shows the price twice and draws a line on one of them
How can I clear the black price?
Please guide me so that I can translate your answers in Google because I do not know English
That will be because VM sees a difference in prices in the price display template - and treats it as if there were a discount.
This is probably because of price rounding and decimal places.
\components\com_virtuemart\sublayouts\prices.php
What changes should I make to the prices.php file?
You may not need to
Show your price configuration settings
/administrator/index.php?option=com_virtuemart&view=config
Pricing tab
here you are
That looks fine
But I now see you have a custom template - which means you are using display changes to the core files
Turn of the template override to see what happens when you do that - this will show if it is the template that is at fault
Do you mean this?
Can you post an url for me to take a look ?
Quickview is not core - it is either an override template and/or plugin
I notice that there is no scratched price - but this is a product view and not a category view
http://kanooneabzar.com/rotary-encoder/encoder-ateksensor-ars-s-37/ars-s-37-500-hpl-6-3m-y-6-c-detail
here you are
This may be caused by your VM configuration - set Round Only Display - On
This is my settings
What should I do?
Try unsetting the display of "New baseprice modified by chosen product variant" - the page code suggests that this is the strikethru price displayed.
Or maybe use CSS to hide the value, eg:
.PricebasePriceVariant {
display: none;
}
i unset "New baseprice modified by chosen product variant" And the problem was solved But if I discount the product, no one will notice the discount
yes they will - try it!
Thank you all