Hello there,
I use virtuemart 2.6.10 and joomla 2.5.x and i was wondering at category layout how to do this:
I have set up really nice below product Title a row with prices at left and quantity-addtocart buttons at right. When i have discount then prices show up good. When i don't have discount, then salesprice shows up to top position of div. How could i make this final price get stuck at bottom or middle, either i have discount or not? Thank you in advance
Impossible to advise without a URL.
http://petcity.gr/neweshop/index.php/dog/dog-food/solid-food-dog
Check 2nd row of products. 1st has discount price 2nd and 3rd not. I would like for non-discount products the red price to appear at bottom or middle if possible
don't see how you can do it with css alone
the div Price-old-price is what is pushing down the PricesalesPrice div
if it isn't there then it will be where it is
You need either logic to provide a blank Price-old-price, or if Price-old-price is empty to add a class to PricesalesPrice which will have some top margin
You were right.
I added an else to the if responsible to check if there is a discount in order to show old price and echoed a div with min-height.
Problem solved!