Daily Archives: November 9, 2019
I have added the Custom Variable from Admin > System > Other settings > Custom Variables > Add New Variable, it is possible to add both the Variable HTML Value as well as Variable Plain Value as in the screen shot below When using the directive {{CustomVar code=”CUSTOM_VAR_CODE”}} in Content […]
It seems there are many resources on how to add a payment method to the checkout process, but I trying to add the payment method options form to a page that is not in the checkout process. I can display general details about the available payment methods using paymentHelper->getPaymentMethods returned […]
The code below returns 0, because in the Cron class it is impossible to inject Model Product, Who can help there are options to get prices ? namespace CrChckCreateCheckoutCron; class CreateCheckout { protected $_product; public function __construct( MagentoCatalogModelProduct $product ) { $this->_product= $product; } public function getBundlePrice(){ $product = $this->_product->load(8) […]