Comments (2)
Often this is Magento's javascript breaking when you've removed one of the price blocks that it expects to find, but it's hard to say without more info. If it's still a problem you can email/pm me a link and i'll take a quick look.
from magento-configurable-simple.
To summarise this one for future reference:
Magento’s Product.js javascript can break if you’ve removed the main price block on the product page.
Usually there are 2 price blocks on the product page, one that's up near the product name/stock/etc, and another that's nearer the quantity and add to cart button. The Magento js expects to find the one near the product name. If you've removed it, the js will break, causing SCP's javascript to break too, which usually has the result of changing the displayed product price to £0.00.
Specifically, the second of these blocks is a span with id something like ‘product-price-7564_clone’ (the id changes with the product) and the former is similar but without the '_clone', i.e. 'product-price-7564'. It's the former than needs to exist for the js to work.
So either reinstate the other price block, or rename the second one to remove the ‘ _clone’ bit and the Magento js will update the prices.
If you don't want to reinstate the main price block, to remove the _clone part of the id on the second price block you can change:
<?php echo $this->getPriceHtml($_product, false, '_clone') ?>
to
getPriceHtml($_product, false) ?>
in
app/design/frontend/base/default/template/catalog/product/view/price_clone.phtml
from magento-configurable-simple.
Related Issues (20)
- Displaying Retail Price (Crossed off) and Special Price - Not Working
- Magento Configurable Product Tax Sending Paypal Issue
- Simple product price is not updating in cart
- Lightboxpro zoom issue
- An error occurred during upload this extension on magento 1.8.1.0
- Quantity Attribute Swatch Price Help
- image swap not working
- Mulitple JS errors - OptionsPrice undefined - Magento 1.9.3.4 HOT 2
- Associated product description not change
- Uncaught TypeError: Cannot read property '1741' of undefined
- TypeError: element.options[element.selectedIndex] is undefined
- Selected Prices are not Updating on Product Page
- Link between simple and configurable (dad) products in Json of Magento
- Page loading in div after selecting configurable option
- CPU load
- PHP 7.2 Compatability
- Magento 2 Support HOT 2
- Blank Page Configurable Product
- Wrong price update when Add to Cart HOT 1
- min_price wrong on catalog_product_index_price HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magento-configurable-simple.