[color=#282828][font=arial, verdana, tahoma, sans-serif]Hi Forum,[/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif]I am new to CS-Cart Multivendor, so seeking for some guidance from experts here on couple of issues I am facing in configuration.[/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif]1. How can we remove few fields/values from [/font][/color]Order's INVOICE[color=#282828][font=arial, verdana, tahoma, sans-serif] which we don't want customer to see in invoice. Fields like [/font][/color]Vendor email[color=#282828][font=arial, verdana, tahoma, sans-serif] & [/font][/color]Phone number[color=#282828][font=arial, verdana, tahoma, sans-serif] are something which we don't want to publish to customer in Invoice.[/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif]I hope some expert will mentor/guide me on these issues to make relevant changes in CS-Cart.[/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif]Regards,[/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif]Mohit [/font][/color]
[quote name='fleaffair' timestamp='1403639281' post='186365']
[color=#282828][font=arial, verdana, tahoma, sans-serif]Hi Forum,[/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif]I am new to CS-Cart Multivendor, so seeking for some guidance from experts here on couple of issues I am facing in configuration.[/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif]1. How can we remove few fields/values from [/font][/color]Order's INVOICE[color=#282828][font=arial, verdana, tahoma, sans-serif] which we don't want customer to see in invoice. Fields like [/font][/color]Vendor email[color=#282828][font=arial, verdana, tahoma, sans-serif] & [/font][/color]Phone number[color=#282828][font=arial, verdana, tahoma, sans-serif] are something which we don't want to publish to customer in Invoice.[/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif]I hope some expert will mentor/guide me on these issues to make relevant changes in CS-Cart.[/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif]Regards,[/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif]Mohit [/font][/color]
[/quote]
[color=#282828][font=arial, verdana, tahoma, sans-serif]You should correct the following files:[/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif]design/backend/mail/templates/orders/invoice.tpl
[/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif]and [/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif]design/themes/YOUR_THEME/mail/templates/orders/invoice.tpl
[/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif]Search for [/font][/color]$company_data.company_phone and $company_data.company_orders_department
Hope that helps.
Hi eComLabs,
Thanks for responding back. Could you please help me understand what correction/changes needs to be done in both the files for $company_data.company_phone[color=#282828][font=arial, verdana, tahoma, sans-serif] and [/font][/color]$company_data.company_orders_department
[quote name='fleaffair' timestamp='1403729673' post='186460']
Hi eComLabs,
Thanks for responding back. Could you please help me understand what correction/changes needs to be done in both the files for $company_data.company_phone[color=#282828][font=arial, verdana, tahoma, sans-serif] and [/font][/color]$company_data.company_orders_department
[/quote]
It is simple. Just delete the code between
{if $company_data.company_phone}
...
{/if}
and
{if $company_data.company_orders_department}
...
{/if}
Thanks
Thanks a lot eComLabs,
I think I 'll comment it instead of deleting it. I think that will also work in same way.
[quote name='fleaffair' timestamp='1403773538' post='186478']
Thanks a lot eComLabs,
I think I 'll comment it instead of deleting it. I think that will also work in same way.
[/quote]
Sure, in this case it should be
{* if $company_data.company_phone}
...
{/if *}
etc
Hope that helps
No this doesn't work. I tried commenting these lines of code but I don't see any changes in Invoice fields. Please help me.
[quote name='fleaffair' timestamp='1404157605' post='186696']
No this doesn't work. I tried commenting these lines of code but I don't see any changes in Invoice fields. Please help me.
[/quote]
Did you clear the cache then?
I have done everything possible. Even read how to comment smarty code {* *}
Cleared the cache of cs-cart and browser but no success.