HI All,
I have this problem that I posted on some sites as well but nobody answers.
Well, I have an extension which is Custom PDF Invoice Plus. In magento, upon installing this extension, you can access the templates and you can design it accord to what you wish.
There's only one problem. If you go to Sales->invoice, you will notice that under customer name is customer email and under customer email is the customer group. I have several customer group.
If you click the Print custom PDF Plus it will load the template.
In the PDF Template there's this var which is {{var customer_group_id}} and also in that template I created an inline block declaration like so
Code:
{{block type='core/template' area='frontend' template='pdf/statement.phtml'}}
Then in this path I created the statement.phtml
app/design/frontend/{nameSpace}/{theme}/template/pdf/statement.phtml
Inside the statement.phtml I have this code
Code:
<?php
/*$b = $this->getCategoryId();echo $b;die();*/
$a = Mage::getModel('customer/group')->load(11)->getCustomerGroupCode();
echo $a;die();
You can see that the load() has a value of 11.
11 is the customer_group_id which I place there for testing purposes.
I want the value of {{var customer_group_id}} placed inside that load({{IN HERE}})
How do I do that?
I need all the help that I can get.
Thank You so much for all those who will help and for this forum.
View more threads in the same category:
- Portable rv air conditioner
- Transforming Karachi's Skylines with Fiber Shades
- Unveiling the Power of E911 Solutions Enhancing Caller Identification
- List of Top 10 Interior Designers in Pakistan
- buy registered drivers license online(legitcleandocs.com)passport,IELTS certific
- Malaysia Visit Visa from Dubai
- Buy Passport,Driver License,Age & ID Card,(Whatsapp:.......: +1 (551) 239-2904) Visas
- 슬롯사이트 추천 - 인터넷슬롯링크 2024 best 온라인슬롯
- Buy Passport,Driver License,Age & ID Card,(Whatsapp:.......: +1 (551) 239-2904) Visas
- Buy Passport,Driver License,Age & ID Card,Visas and Undetected Counterfeit Money. Ema
Bookmarks