So for us beginners who are keen to learn, am I right in thinking that for 1.5.x it goes a little something like this:
1) Open catalog/controller/module/special.php
2) Find
3) Before it, add
4) In same file, find
5) After it, put
If that's the case, I can't get it to work.
1) Open catalog/controller/module/special.php
2) Find
- CODE: SELECT ALL
if ($this->config->get('config_review_status')) {
3) Before it, add
- CODE: SELECT ALL
if ((float)$result['special']) {
$saving_value = $result['price'] - $result['special'];
$saving = round(($saving_value/$result['price'])*100, 0);
} else {
$saving = false;
}
4) In same file, find
- CODE: SELECT ALL
'name' => $result['name'],
5) After it, put
- CODE: SELECT ALL
'saving' => $saving,
If that's the case, I can't get it to work.

Last edited by aledmann on Thu Nov 24, 2011 10:32 am, edited 4 times in total.
0 nhận xét: