Want Price Product And Price With Options Selected In Same Place

  • Posts: 261
  • Thank you received: 4
  • Hikashop Business
5 years 2 months ago #302680

Hi,
I have Hikashop Business.

On my cart there is two price locations when I have 'Options'. I would like to have it so that when customer selects to add an option that it will reflect in the main product price for less confusion. Right now as seen in the attached image, there is main product price that remains same and then a seperate line price that changes to updated price. It is confusing.

options price.[attachment=45825]options price.

Attachments:
Last edit: 5 years 2 months ago by fan4chevy.

Please Log in or Create an account to join the conversation.

  • Posts: 4486
  • Thank you received: 609
  • MODERATOR
5 years 2 months ago #302692

Hello,

There is no options to do that, from that your solution will be a custom to replace the main product price by the price with options.
Note that your price with options is already updated from selected options.

To be more precise :
- Create an override view from your product page view (show_default, show_reversed or show_tabular)
- Define a check to process your custom code, like this :

if (!empty($product_price_variable)) {
     echo $product_price_variable;
}
else {
     echo $main_product_price_variable;
}
Note that this code, is a pseudo code in order to understand the idea, you have to replace elements (like variables).
This will required html & php knowledge, see this tutorial .

The other, possible solution is to use Css to "hide" main product price, and move the price with option to your required place.
See here , how to add custom css code to your frontend file.

Regards

Last edit: 5 years 2 months ago by Philip.

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum