Hello,
does anybody know how to integrate a customer-id into the invoice and where do I find the customer-ID in the phoca-component?
Thanks for all answers.
Best regards
Fred
Customer-ID in invoice
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Customer-ID in invoice
Hi, for now, there is no customer ID in Phoca Cart.
Each customer (except guest users) is just standard logged in Joomla! user, so the ID is Joomla! user ID. So if needed in invoice, just get the User ID and paste it to invoice:
Layout for invoice:
components\com_phocacart\layouts\order.php
User ID is stored in this variable: $d['common']->user_id in this layout.
Jan
Each customer (except guest users) is just standard logged in Joomla! user, so the ID is Joomla! user ID. So if needed in invoice, just get the User ID and paste it to invoice:
Layout for invoice:
components\com_phocacart\layouts\order.php
User ID is stored in this variable: $d['common']->user_id in this layout.
Jan
If you find Phoca extensions useful, please support the project