Question

Im developing a B2B Store. I have a number of customers which have special prices for SOME products. At the moment I have set them up under 'Customer Groups' and applied group prices to the products. On the front end, when the customer is logged in, their special price is shown alongside the standard price which has greyed out/strikethrough style.

I want my site to HIDE the standard price when there is a group price available instead of strikethrough/grey out, but still show standard price where there is no alternative group price. Does anyone know of an extension for this or will this need to be hand coded?

I'm only looking to HIDE normal price when there is a group price available.

I'm using standard Madison Island template.

Was it helpful?

Solution

Modify your theme's catalog/product/price.phtml template. In your case, that is the rwd theme.

I would advise you to do this on a separate theme and apply the changes there, but it might be too complicated on your case... Anyhow, just keep a backup of the original template file. So you can revert it back if you break something.

  1. Open the template file app\design\frontend\rwd\default\template\catalog\product\price.phtml.

  2. Find all <p> tags that has a class old-price

  3. Delete that and everything inside it.

There's about 5 <p> tags that you're going to delete.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top