Orders management between 3 webshop was possible thanks to this Magento extension. Integration was made between Nexway, TBone and Magento system. Project timeline: 2014.09 – 2014.10
Magento direct SQL INSERT with safe parameters binding
Maybe someone will find it usefull: $write = Mage::getSingleton(“core/resource”)->getConnection(“core_write”); $query = “insert into mytable ” . “(field1, field2, field3, field4) values ” . “(:field1, :field2, :field3, 12)”; $binds […]
Send pdf automatically when invoice is created in Magento
It is a bit different then method showed in previous post – this time its not transactional email sent at demand, but we will catch event fired after […]
Quicktip: How to send PDF invoice via transactional email in Magento?
Seems to be complex, but its not that bad: $orderModel = Mage::getModel(‘sales/order’)->load($myOrderId); $invoices = $orderModel->getInvoiceCollection(); $invoicesSet = array(); foreach ($invoices as $_invoice) { array_push($invoicesSet, $_invoice); } $pdf = […]
Quicktip: SQLSTATE[HY000] [2002] Not a directory trying doctrine:schema:create
If you are using MAMP and trying to execute doctrine:schema:create or anything db related you may encounter that error, solution is simple – you need to create symlink […]
Tutorial: Fetching stock data from Amazon using FBAInventoryServiceMWS
First thing you need is PHP client for Fulfillment Inventory API, you can download at https://developer.amazonservices.ca/doc/fba/inventory/v20101001/php.html – yes, version is 4 years old, they don’t have any newer… […]
Quick tip: updating inventory in Magento using SKU
Its not that bad, all you have to do is get Stock Object, update quantity and save again along with product: $_product = Mage::getModel(‘catalog/product’)->loadByAttribute(‘sku’, $SKU); $qty = 12; […]
Quick tip: Not found bundle:com.jcraft.jzlib in NetBeans 8.0.1
If you experience errors like: Not found bundle:com.jcraft.jzlib when starting NetBeans 8.0.1 just delete cache folder which is located at: /Users/jdoe/Library/Caches/NetBeans/ where jdoe is your username
Quick tip: using git with multiple ssh keys
Probably you are using git. And probably a day when you will add another repo is close. But standard git behavior is to use key located at ~/.ssh/id_rsa. […]