Blog

mostly Shopify and Magento posts

eSewa payment gateway module for Magento 1.x and Magento 2.x [Github repo available now]

Suman K.C July 20, 2018

Back in the year 2016 i had published this module in Magento connect, but after magento has dropped connect the module wan’t available. This time i haven’t published on magento new marketplace rather than that i decided to go with github repo. The developed module is for Magento 1.x version. Magento 1.x eSewa payment gateway […]

Show per page dropdown in Shopify product listing

Suman K.C July 6, 2018

This is one of the feature in eCommerce store product listing which allows customers to select the number of products they want to see per page. This comes in a dropdown or number link where the customer choose numbers per page and the product page paginates as accordingly. This feature doesn’t come in shipify default […]

Shopify PHP POST & PUT request – Fatal error: Uncaught phpish\shopify\ApiException: [411] Length Required

Suman K.C June 4, 2018

Lately we encountered this issue of 411 Length required issue while trying to do POST / PUT request in shopify. We are using this phpish Shopify private app skeleton https://github.com/phpish/shopify_private_app-skeleton In this app skeleton we made changes in vendor/phpish/shopify/shopify.php inside client function   if (!$private_app) $request_headers[‘X-Shopify-Access-Token’] = $oauth_token; $request_headers[‘content-type’] = ‘application/json; charset=utf-8’; $data_query = http_build_query($response_headers); $data_len […]

Shopify search products within a collection [working solution]

Suman K.C May 22, 2018

The default search bar of a shopify searches for all products from the store. In one of the project it was a requirement where along with the search bar there was collection dropdown, and it was few years back and that time i drop that feature mentioning client that it isn’t possible. But in this […]

Shopify embedded app development with PHP – Blog series – Introduction & Announcement

Suman K.C February 20, 2018

Hello folk, I have this in my mind since couple of month ago but haven’t got hands on in it yet. So finally i have decided to write blog series on Shopify embedded app development with php. The reason i’m writing this is, there is rarely few documents that explains everything for a complete app […]

Get all shopify collections on your external database at once – Collection API Reference – private app

Suman K.C February 15, 2018

The requirement to get all collection on a database appeared while creating a private app for shopify where i need to populate all the available collections under a dropdown to allow admin select collection. Now the script i’m have written will import once i.e. all the available active collections inside a MySQL database. You might […]

Get all shopify products on your external database – Product API Reference – private app

Suman K.C January 10, 2018

There are times when we either need to inspect the shopify data all at once or create some external dashboard to list shopify product outside of shopify. At that time we need to extract all products from shopify and store somewhere else on database. This article will guide you though how to execute a single […]

Shopify – Update product specific metafield API Reference – Product metafield update dynamically

Suman K.C December 11, 2017

Metafields are used in shopify to add extra information of shop / collection / products / blog or like so. As there are limited fields on these instances on backend we use metafield to add field and add value. Whereas metafields on product level is something we store for each product. I went though Shopify […]

Magento Bulk update product inventory stock, backorders, quantity and availability

Suman K.C October 24, 2017

Updating products in bulk is manually is only feasible if there are few countable products on your fingers. But as the product catalog increases updating products values becomes a hectic task. And there comes solution of updating in bulk programmatically. The logic is accessing product objects and updating particular attribute. In this article i’m writing […]

  • About Me

    Graduated from UCLAN, majored on Business Computing & Information System, Suman K.C is specialized on web based technologies. Currently his core areas are PHP, Magento, Shopify, JavaScript and Front-end development. more | Contact
  • Hire me on Freelancing sites

  • Recent Posts

  • Create online store

  • Categories

  • Magento Modules

  • Recent Comments

  • Flag counter

    Flag Counter