Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
MagentoのPDF請求書に付加価値税/税金番号を記入するのを手伝ってくれる人はいますか?
このコードを試しましたが、うまくいきませんでした:
$taxvat = $order->getData('customer_taxvat'); $page->drawText('Tax/Vat: '.$taxvat, 35, 567);
これを取得するには、次のようにします。 $order->getCustomerTaxvat()
$order->getCustomerTaxvat()
この値が空の場合は、これを試すことができます。
$customer = Mage::getModel('customer/customer')->load($order->getData('customer_id')); $taxVat = $customer->getData('taxvat');