- Posts: 152
- Thank you received: 11
Product code
13 years 11 months ago #72022
by holm76
I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy
Product code was created by holm76
I have tried to disable showing the product code (configuration > show >) on the site, and it works.
But it also been disabled from the invoice. Is it possible not to let it show on the site but on the invoice that been sent by mail?
Its just have to been on the mails for a secure and a help if something is wrong with the order.
The reason to remove it on the site is we have a lot of fake codes for mainproducts, and the reel on the variants. It's the fakes that are showed on the site.
But it also been disabled from the invoice. Is it possible not to let it show on the site but on the invoice that been sent by mail?
Its just have to been on the mails for a secure and a help if something is wrong with the order.
The reason to remove it on the site is we have a lot of fake codes for mainproducts, and the reel on the variants. It's the fakes that are showed on the site.
I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy
Please Log in or Create an account to join the conversation.
13 years 11 months ago #72066
by Xavier
Replied by Xavier on topic Re: Product code
Hi,
To display the product code only on the invoice, disable the option.
Then you can edit the invoice in HikaShop > Display > Views, edit the view "order / invoice" and remove the following condition:
Don't forget to remove the "}" ending the condition.
To display the product code only on the invoice, disable the option.
Then you can edit the invoice in HikaShop > Display > Views, edit the view "order / invoice" and remove the following condition:
Code:
<?php if ($this->config->get('show_code')) { ?>
Please Log in or Create an account to join the conversation.
13 years 11 months ago #72069
by holm76
I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy
Replied by holm76 on topic Re: Product code
I dont understand this, as i read the answer you meen i have to remove the code in the invoice, is it not in the product/category you meen?
Or is it possible to overrule the "no" in configuration in the mailconfiguration?
Or is it possible to overrule the "no" in configuration in the mailconfiguration?
Xavier wrote:
Then you can edit the invoice in HikaShop > Display > Views, edit the view "order / invoice" and remove the following condition:
I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy
Please Log in or Create an account to join the conversation.
13 years 11 months ago #72077
by Xavier
Replied by Xavier on topic Re: Product code
If you set the option to not display the product_code, and you remove the check in the invoice, so the product_code will be displayed in the invoice.
You can too override the rule, try to add the code:
Before:
You can too override the rule, try to add the code:
Code:
<?php $this->config->set('show_code',1); ?>
Code:
<?php if ($this->config->get('show_code')) { ?>
Please Log in or Create an account to join the conversation.
13 years 11 months ago #72079
by holm76
I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy
Replied by holm76 on topic Re: Product code
I will try .. thanks a lot
I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy
Please Log in or Create an account to join the conversation.
Time to create page: 0.222 seconds