Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9248969
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:04:47+00:00 2026-06-18T10:04:47+00:00

I have created a template in Magento and have added some configurable products. When

  • 0

I have created a template in Magento and have added some configurable products. When you select the drop down, the change in price is displayed (eg +6) and this is reflected in the shopping cart.

However, I would like it to upadte the regular and special price on the product page. Is there a way to do this, or is it static html?

Cheers

http://www.titan.x-brand.co.uk/bath-panels/trojan-supastyle-750mm-acrylic-end-panel.html

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T10:04:49+00:00Added an answer on June 18, 2026 at 10:04 am

    Price and special price html is not hadr coded – it is changed by javascript Product.OptionsPrice (declared in app/design/frontend/base/default/template/catalog/product/view.phtml)

    var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
    

    Implementation of the class is in javascript file js/varien/products.js

    The function that should change the price is Product.OptionsPrice.reload

    That JS object expects your price and special price html elements to be in certain hierarchy (

    <span><span>...</span></span>
    

    this is only an example what I mean by hierarchy) and the elements of this hierarchy must have certain class and id attributes that should not be removed or renamed.

    Your changes to phtml files have caused this code to fail (if you inspect your page with firebug you’ll notice that there are javascript errors present – not necessarily related to this issue but you should fix them).

    The easiest way to start fixing this is that you copy the section of html, related to price, from default phtml file and reapply css once it works.

    Also if you have changed the theme through admin (System->Configuration->Design->Package->Current Package Name) you could change it from ‘your_theme’ back to ‘default’ and see how it is supposed to work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The problem i have is that i have created newsletter template, added few subscribers
i have created a template xml file witch contain some words like {contentname}. i
I have created a component Template and I made this component Template as Dynamic.
I have created a custom template and skin for my multilingual magento website, my
I have created this editor template: @model DateTime? @using MyMvcApp.Properties <div id=dateTimePicker_@(ViewData.ModelMetadata.PropertyName)> <script type=text/javascript
In a vanilla install of Magento 1.5.1.0 I have created simple products COLOR-RED, COLOR-BLUE
I am new to Vaadin. I have created template for my web application in
I have created an editor template for representing selecting from a dynamic dropdown list
I have created a UItableView using the default Xcode template and configure it to
I have created a custom style and template for MenuItem and ContextMenu, and for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.