I have an issue with the Magento changePrice function. The price is calculating correctly when sent to the console, but once it is passed to the changePrice function it is no longer correct.
optionsPrice.changePrice('bundle', this.price.toFixed(2));
I cannot find any documentation on this function.
else if (this.findRush ) {
// If Rush
this.price = this.finalPrice;
console.log("this.price= " + this.price);
// Send Price to Pricing Objects
optionsPrice.changePrice('bundle', this.price.toFixed(2));
//alert(this.price);
opConfig.reloadPrice();
updateFormPrice();
}
Here is the site and a product example: https://www.envelopeink.com/sun-yellow-1423. If you select these options
- fixed Quantity > 50 QTY
- Printed envelopes
- rush this order option on last step
The price should be 206.35 as seen in the console, but $247.95 is returned.
Any help on this would be greatly appreciated.