The package shows the price as 0

I read a lot about this problem, but I get nothing that offers a way out. I work with version 1.3.2.4 and after creating the bundle product, Magento displays it as a price as zero, but gives the "current composition" as the correct value.

alt text http://www.balexandre.com/temp/2009-10-13_2158.png

I already tried to update the cache, rebuild the directory index, and nothing works ... Then I went deeper and went into the price.phtml template in

template / package / catalog / product / view /

and tried to call the same method that correctly displays the value, bu also returns zero.

I noticed that Magento has this javascript method

bundle.reloadPrice();

right after and if called, I get the right price ... I can try using jQuery (or Prototype, since Magento uses it by default) changes the value, but I tried it right ...

Any other ideas?

+3
source share
3 answers

for product page I use this as a job:

executing this jQuery code:

// hide "Price as configured" text
jQuery(".price-as-configured span:first").hide(); 

// hide the 0,00 price
jQuery(".price-box-bundle").hide(); 

// hide the 2nd price (not in image)
jQuery(".product-options-bottom .price-box").hide(); 

will pass this :

alt text http://www.balexandre.com/temp/2009-10-13_2338.png

into this :

alt text http://www.balexandre.com/temp/2009-10-13_2339.png


In the product grid list, I use this code to hide the price / button button and add links to the wish list

// GRID
jQuery("#products-grid-table .price-box").hide();
jQuery("#products-grid-table .button").hide();
jQuery("#products-grid-table .add-to-links").hide();

// LIST 
jQuery("#products-list .price-box").hide();
jQuery("#products-list .button").hide();
jQuery("#products-list .add-to-links").hide();

and he will pass this

alt text http://www.balexandre.com/temp/2009-10-14_0005.png

alt text http://www.balexandre.com/temp/2009-10-14_0006.png

, -...

+2

. 0,00.

price → show : yes

+1

you can use my magento module: https://github.com/head82/KH_ExtendedBundlePrice tested with magento 1.7

0
source

Source: https://habr.com/ru/post/1720014/


All Articles