Skip to content
Yet Another Programmer's Blog

Yet Another Programmer's Blog

PHP, Magento, iOS and more

  • Home
  • Contact
  • Privacy Policy
PHP

Nexway integration for PC Welt webshop

Posted on: March 7, 2015October 26, 2024

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 / PHP

Magento direct SQL INSERT with safe parameters binding

Posted on: February 28, 2015

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 […]

Magento / PHP

Send pdf automatically when invoice is created in Magento

Posted on: January 14, 2015

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 […]

Magento / PHP

Quicktip: How to send PDF invoice via transactional email in Magento?

Posted on: January 13, 2015January 13, 2015

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 = […]

PHP

Quicktip: SQLSTATE[HY000] [2002] Not a directory trying doctrine:schema:create

Posted on: November 4, 2014November 4, 2014

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
PHP

Tutorial: Fetching stock data from Amazon using FBAInventoryServiceMWS

Posted on: October 18, 2014

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… […]

PHP

Quick tip: updating inventory in Magento using SKU

Posted on: October 16, 2014

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; […]

Mac / PHP

Quick tip: Not found bundle:com.jcraft.jzlib in NetBeans 8.0.1

Posted on: September 25, 2014

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

PHP

Quick tip: using git with multiple ssh keys

Posted on: August 1, 2014

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. […]

Posts pagination

Previous page Page 1 Page 2 Page 3 Page 4 Page 5 Next page
  • iOS
  • Mac
  • Magento
  • MySQL
  • PHP
  • Promocje
  • Python
  • Salesforce
  • Uncategorized
  • Wordpress
  • April 2025
  • November 2024
  • October 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • September 2022
  • July 2022
  • September 2021
  • June 2021
  • September 2020
  • May 2020
  • March 2020
  • January 2020
  • December 2019
  • August 2019
  • July 2019
  • June 2019
  • April 2019
  • October 2018
  • August 2018
  • May 2018
  • April 2018
  • November 2017
  • August 2017
  • April 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • June 2013
  • March 2013
  • February 2013
  • November 2012
  • October 2012
  • August 2012
  • July 2012
  • May 2012
  • April 2012
  • February 2012
  • October 2011
  • September 2011
  • August 2011
  • July 2011
Theme Cube Blog by Kantipur Themes
 

Loading Comments...