Blog

mostly Shopify and Magento posts

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

“Altert : Shopify seems to have changed the way it used to work with the search page parameters. The solution below have stopped working.” 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 […]

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

Shopify one section / schema for multiple pages : Dynamic sections

Suman K.C July 19, 2017

We generally write a section file in shopify to include it somewhere. And one section data gets saved and the output is same data. Additionally there is block concept in schema from where we can add blocks dynamically. Blocks are same sets of options but in a multiple numbers. Basically the requirement of this was […]

  • 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

  • Shopify apps

  • Recent Posts

  • Create online store

  • Categories

  • Recent Comments

  • Flag counter

    Flag Counter