I wrote the below code to show rectangle in pdf file $page->setFillColor(new Zend_Pdf_Color_GrayScale(0.92)); $page->setLineColor(new Zend_Pdf_Color_GrayScale(0.92)); $page->drawRectangle($x, $oldY+20, ($pageWidth/2)-50, $this->y-10); $page->setFillColor(new Zend_Pdf_Color_GrayScale(0)); $page->setLineColor(new Zend_Pdf_Color_GrayScale(0)); AND Output is But I need round corners in rectangle how can I do this in Magento 2 Zend pdf.I wanna output like this Expected output:
Magento
I have an issue with magento 2 pricing. I am applying a discount on row total and updating the item price. The problem is that the total is calculated from item price and not from the row total. Does anybody have an idea ?
I want to change the page title of my custom maintenance page. I already found out that the title is set hard in pub/errors/processor.php in the Processor::process503() method. The $pageTitle member is public so I would be able to set it from outside of the object, weren’t it that the […]
I am an administrator for a magento 2 application and I am struggling to get my admin token via the magento 2 API. The API call that I am making is to the following endpoint configuration: POST {host}/rest/{store_code}/V1/integration/admin/token. I am able to login with my username and password to the […]
how to change/customize minicart dropdrow… instead a dropdown cart I wish having a slider from right do left at magento 2.4.4 could someone help me??
After editing content on some CMS pages via Page Builder edited content submits without any changes in payload: Looks like problem also related to all places where Page Builder is involved (category, product description etc). If Page Builder is disabled, via WYSIWYG and TinyMCE4 content changes without any problems. PageBuilder […]
We have noticed a new order created in the admin which has come from the REST API. (Order was automatically cancelled) We have nothing running that creates orders in this way and the IP country and billing/shipping address countries don’t match up etc. Is it something we should be concerned […]
I want to have article prices exclusive tax in invoice pdfs. I have not found any article by searching which points me in a direction. At the moment prices are shown inclusive tax. I have changed the settings in Sales > Taxes > to exclusive taxes for prices, subtotal and […]
I’m getting this error that mycrypt is deprecated. I’ve heard I should use openssl. But I’m not sure how would I go about this in terms of my Magento 1.9 setup. Can I get some insight? Also how serious is this problem? ERR (3): Deprecated functionality: Function mdecrypt_generic() is deprecated […]