i want to add (*) in price option please help me that how to do this.
kindly check this image.

Please reply me as soon as possible.
Regards
Mahar
Code: Select all
<?php if ($product_option_value['price_prefix'] == '-') { ?>
<option value="-" selected="selected">-</option>
<?php } else { ?>
<option value="-">-</option>
<?php } ?>
Code: Select all
<?php if ($product_option_value['price_prefix'] == '*') { ?>
<option value="*" selected="selected">*</option>
<?php } else { ?>
<option value="*">*</option>
<?php } ?>
Code: Select all
if ($option_value_query->row['price_prefix'] == '+') {
$option_price += $option_value_query->row['price'];
} elseif ($option_value_query->row['price_prefix'] == '-') {
$option_price -= $option_value_query->row['price'];
}
Code: Select all
elseif ($option_value_query->row['price_prefix'] == '*') {
$option_price *= $option_value_query->row['price'];
}
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 1 guest