Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.


    Home Forums Theme Forum HelloSportz Custom Option Price Not Updating When Selection Options

    This topic contains 6 replies, has 1 voice, and was last updated by  sddsf 1 year, 6 months ago.

    Viewing 7 posts - 1 through 7 (of 7 total)
    • Author
      Posts
    • #20594

      David

      Hi,

      On the product page when you select any of the custom options the price doesn’t change and instead displays ZERO as the amount.

      Let’s say “Product 1″ cost €374.99
      When you select option 1, which cost €85.00 the total price shows €0 instead of €459.99 as it should normally be.

      Anyone managed to fixed this issue?

      #20595

      David

      I forgot to mention that I tried to revert back to the magento ‘default’ template and the price updates properly. This is how I assumed it was an issue with the HelloSportz template…

      #20596

      David

      For those of you who will have the same problem, here’s the solution if found:

      in app/design/default/hellosportz/template/catalog/product/view/options.phtml on around line 141
      change

       
      if (this.config[optionId][selectOption.value]) {
      price += parseFloat(this.config[optionId][selectOption.value]);
      }

      To:
      if (this.config[optionId][selectOption.value]) {
      price += parseFloat(this.config[optionId][selectOption.value].priceValue);
      }

       

      #22442

      erin

      Old post, but wanted to say thank you David… this fixed the issue for me and saved me hours of digging around for a solution!

      #22550

      swadhin

      When am selecting the option price its calculate from base price not from final price

      EX: If my product price is – $10

      Option1 – $10 (fixed)

      option2 – 10%

      Result is $21

      instead $22 ($10+$10+10% of finalprice which is $20 not from base $10)

      Any one help me out of this??

      #22742

      Paul Stanely

      Thanks David, for sharing this useful piece of code to resolve this issue.

      Also have a look at this Magento Custom Price Options extension developed by FME.

      http://www.fmeextensions.com/magento-custom-price.html

      Customers can edit the price on the frontend.

       

      #22768

      sddsf

      dfgdfgdfg

    Viewing 7 posts - 1 through 7 (of 7 total)
    Reply To: Custom Option Price Not Updating When Selection Options
    Your information:





    <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">