-
Notifications
You must be signed in to change notification settings - Fork 262
Special Price not displayed if higher than lowest price #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yeah that's intended behaviour. Well. In most cases. It depends where you mean exactly. Let me elaborate :) To work out which associated product prices to show when the pages load (i.e. the 'price from' price) SCP does:
It purposefully doesn't do:
I don't think it would be terrible whichever way it works, but I went with what made most sense to me. I think this bit is ok. However there's still a bug on product pages as mentioned in the readme here: http://github.com/organicinternet/magento-configurable-simple/ which is: Open Bugs I've not gotten round to fixing that yet. It's because the 'price from' price (determined using the logic above) finds the associated product with the cheapest price, but this product doesn't have a special price so 'Special Price: blah' or whatever isn't displayed. That's fine. The bug is that on the Product page, when you pick your attributes such that a different associated product is matched, and that product does have a special price, SCP doesn't add the 'Special Price: blah' html. At the moment it can only show it if it was there when the page loaded, that is, if the original lowest priced 'price from' product had a special price too. Quite a silly bug really. Matt |
Ah, yeah, that is in fact what I was talking about, sorry for not being specific enough. |
Just FYI: I solved this problem in a very roundabout way buy writing a javascript that checks if there is a span that could contain the special-price. If there is not it basically rewrites the complete price-box with the version where special-price and old price are included and from there on out it works beautifully. Surely not the most sophisticated solution, but as a part time cludge it works just fine. |
Cheers for letting me know. I think i'll have to do something similar, or force the special-price span to always be rendered by the php. I doubt it'll be anything very elegant either way :) Did you have to do anything tricky to get it to work well? If so do you mind sharing the code? |
Hi,
I have a configurable product which simples have each the same price and the same special price. To find the issue I put some traces on app/design/frontend/default/default/template/catalog/product/price.phtml I found also that in \app\code\community\OrganicInternet\SimpleConfigurableProducts\Catalog\Model\Product\Type\Configurable\Price.php If someone has an idea to fix this I would be very glad ;-) |
I'm not sure if this really is an issue or an intended feature, however:
If my configurable product is comprised of several simple products and one simple products normal price is lower (say 20$) than the special price of another simple product (say, 21$), the second price is not displayed as a special price but as a normal price.
The text was updated successfully, but these errors were encountered: