Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Denotes questions related to PDF management and generation in Magento.
1
vote
1
answer
58
views
How to use || or && in Email Template or PDF Template Magento 1.x
I want to use || in {{if}}
I tryed like this but it not work, please help me
{{if helper.eq(order.shipping_description, "abcd") || helper.eq(order.shipping_description, "dede") }}
<p>abcd & dede</p> …
2
votes
0
answers
369
views
Refresh page after download PDF in custom module magento 2
= new \Zend_Pdf();
$page = $pdf->newPage(\Zend_Pdf_Page::SIZE_A4);
$pdf->pages[] = $page;
$style = new \Zend_Pdf_Style();
$style->setLineColor(new \Zend_Pdf_Color_Rgb(0, 0, 0));
$font … ->render(), \Magento\Framework\App\Filesystem\DirectoryList::VAR_DIR, // this pdf will be saved in var directory with the name example.pdf
'application/pdf'
);
return $this->_redirect …