Pleas help me out for this minor issues.
I want to remove the original value price from the addition of total optional value price from the cart in OpenCart 3.0.
When you add option and hit add to cart. After when we open the cart symbol at top right cart, the original price also added.
UPDATED
Thanks for your reply.
I want to display minimum price on home page. So, can I show the product's minimum price from the optional value.
For Example: I have three varieties of products.
I want to display Prod 1 ($10) on my home page. That's it. How to do that?
Appreciate your reply..
In this case you can set original price to 0.
or
You can set main product price = to minimal option price, then set your option prices like:
That's how options in OpenCart works.
UPDATED
Set your product price to $10. Then set your options' prices to:
UPDATE 2
Using previous update, to see full price in option lets make following changes:
open catalog/controller/product/product.php, find
$product_option_value_data[] = array(
'product_option_value_id' => $option_value['product_option_value_id'],
'option_value_id' => $option_value['option_value_id'],
'name' => $option_value['name'],
'image' => $this->model_tool_image->resize($option_value['image'], 50, 50),
'price' => $price,
'price_prefix' => $option_value['price_prefix']
);
This line
'price' => $price,
replace with
'price' => $this->currency->format($option_value['price'] + $product_info['price'], $this->session->data['currency']),
Update your ocmod cache and now you will see (main price + option price) value in options on product page. And set you option from chackbox to radio.