Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Where Can I Change Content Of $Invoice? Rate Topic   - - - - -

 
  • vin86
  • Member
  • Members
  • Join Date: 16-Nov 09
  • 21 posts

Posted 27 December 2018 - 11:44 AM #1

Hi,

i want make some changes on modify_invoice.tpl located on /design/backend/templates/views/orders.

 

i want to know where variable $invoice is generated. i make a changes on this variable.

 

Thanks



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18680 posts

Posted 27 December 2018 - 01:07 PM #2

$invoice is rendered from documents (Design -> Documents). You can find this code in the app/controllers/backend/orders.php file

http://prntscr.com/m05gwg

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • vin86
  • Member
  • Members
  • Join Date: 16-Nov 09
  • 21 posts

Posted 27 December 2018 - 01:37 PM #3

$invoice is rendered from documents (Design -> Documents). You can find this code in the app/controllers/backend/orders.php file

http://prntscr.com/m05gwg

how can i call new documents (for example invoicexml) ?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18680 posts

Posted 28 December 2018 - 06:04 AM #4

how can i call new documents (for example invoicexml) ?


I do not see invoicexml in the list of available documents. Please clarify

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11115 posts

Posted 28 December 2018 - 08:27 PM #5

If you're using the newer email editor, you will have to create a new document and then associate it with an email.  Note that you can use existing snippets in that document or create new ones to your liking.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • galtinbaeva
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 3200 posts

Posted 29 December 2018 - 08:39 AM #6

how can i call new documents (for example invoicexml) ?

 

Hello!

 

If you need to generate invoice in XML, custom development is required.


Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Mega SEO Package - All you need for your SEO