Hello Oxid Wehshop Forum Members,
its not easy at the beginning, after 7 years of OScommerce we are trying to chenge over to Oxid. The templates are a bit confusing.
At OSC we used variables for terms that change sometimes as for example our bank account, tax number, adress, telephone number …
They appear in various places in the shop such as : terms and conditions, contact us, sitemap …
So instead of having to serch and change each page separately we defined them in the config.inc
like this:
define(‘BANK_DEFINE6’, ‘our bank’);
define(‘TAX_NUMBER’, ‘our taxnumber’);
define(‘SUPPORT_TEL’, ‘our telefone number’);
When I enter the variable into the text, which I find in the database: table: oxcontents - oximpressum
Supporttelefon ‘.SUPPORT_TEL.’<br />
Tax Number: ‘.TAX_NUMBER.’<br/>
the variable is not shown on the page.
Neither is it shown when I try:
Supporttelefon <? echo SUPPORT_TEL ?><br />
Tax Number: <? echo TAX_NUMBER ?><br/>
How can I manage to get the variables working inside the template.
I would be grateful for any hint.
best regards
Morton