Currently the price is outside of the select box on product display's. Is there a way to include the price in the select box itself?


$5 - Basic Repair - Scratched Disc Recovery

instead of whats below.

enter image description here


Include the price in the product title itself in same way which you want to show in select box.

There are other way, in that you will have fetch the product id of the product reference field in template.php & load full product to get price. Then prepare title again at theme lavel..

For better understanding of what I am talking about, you can see my answer for a question here, where I have explained how to prepare title of node again which include taxonomy. You also have to do something similar like that..

But I will suggest you to follow the first solution of mine means - Include price with title of the product.

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.