3

I have configurable product if choose different color in products page price return 0,

configuration :

enter image description here

In my configurable productpage,

enter image description here

How to solve the issue. Any help.

  • Which one either Red or Navy blue or both? What is its URL? – Agilox Oct 4 at 5:06
  • @Agilox my configurable product price 75, red also 75 so that red color price empty (see screen shot above) and navy blue 95 so that add 20, in configurable product page if i choose navy blue price return 0, not calculate 75 + 20 = 95, same if i choose red return price 0 – zus Oct 4 at 5:17
  • have you done reindexing? – Agilox Oct 4 at 5:22
  • yes, i did....... – zus Oct 4 at 5:23
  • 1
    @zus: I believe, you set your configurable product(parent) price as $0(or not set) and hence you are getting this result. It is better to set the base price for configurable product based on the simple product which cultivates configurable product and the difference in price (for simple products) in the super attribute section. – Sangeeta Chandaliya Oct 7 at 5:09
4
+50

The most likely issue is that you are using an extension which is changing how configurable products work or your theme is doing it.

Most extensions regarding configurable products change the functionality to use prices directly from the child products (the products assigned to the configurable product).

I can recommend several things you could try that might help you debug this issue:

  1. Check if you have any javascript errors on the product view page
  2. Check what price you put for the configurable product, if it was created programatically, it might have a null price which could cause problems
  3. Check if the configurable product is in stock
  4. Check if the child products all have a non-zero regular price and that they don't have a special price set to 0
  5. Make sure the child products are all in stock and that they have quantity > 0
  6. Try putting a 0 in the red color option instead of just a blank
  7. If you have an extension that is affecting configurable products, you can try switching it off
  8. Try switching to the default Magento theme and check if it's working then
  • FYI if I try with default theme it's working, let me try with your other steps. – zus Oct 7 at 7:40
  • As you know if i chooses color : red configurable products price changed to 0, but if i add add-to-cart price looking correct. snipboard.io/sdWuEA.jpg how to solve this error? @Lez – zus Oct 8 at 6:32
  • Did you try my other suggestions? The problem might also be that you made some changes to /catalog/product/view.phtml or /catalog/product/view/type/options/configurable.phtml? For example, if you had changed some classes of the price element or some of it's parents, the theme functionality to change the configurable product price might have broke. Also, what happens if you change the color to navy blue? Do you get 95 Rs? – Lez Oct 8 at 9:26
  • Yes, i did some changes in app/design/frontend/default/theme327k/template/catalog/product/view.phtml. How can i change my view.phtml with better way, i want my configurable product should be work? @Lez – zus Oct 8 at 10:36
  • There is nothing I can say without seeing the contents of the view.phtml and comparing the original with the modified version. My advice is to put back the original view.phtml theme file and check if it works then. If it does, then maybe you can figure out what change has broken the functionality. Maybe it isn't connected to view.phtml, but maybe it's some other part of the theme... I cannot say exactly without looking at the files and/or the shop URL. Good luck to you @zus – Lez Oct 11 at 12:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.