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
In admin/view/template/catalog/product_form.tpl file,
find:
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 } ?>
find twice:
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
i made this changes but not working.
i have opencart version 1.5.2.1
Regards
MAHAR SHOAIB
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 52 guests