Hi there,
What I want to achieve:
I want my voucher information to be showed on any .tpl file. For example on a product.tpl file, or on the homepage of my store.
From what I understand the cart rule logic is to be found in:
/controllers/front/DiscountController.php
And if I want to make it accessible anywhere I should add it to the array found in the following function:
protected function assignGeneralPurposeVariables()
In file:
/classes/controller/FrontController.php
Basically I want to put the contect from the discount.tpl file in other .tpl files:
/themes/classic/templates/customer/discount.tpl
However, I find myself not being able to manage this.
Is there anyone with more experience in this who can help me with this?
PS version: 1.7.6.5