Skip to content
Create a gist now

Instantly share code, notes, and snippets.

anonymous /shopify_modify_asset_php
Created Oct 29, 2012

Shopify modify assset PHP
// Update 404 page HTML with pixel
$liquid_404_pixel = $this->shopify->call('PUT', '/admin/themes/' . $main_theme_id . '/assets.json',
'asset' =>
'key' => 'templates/404.liquid',
'value' => ($liquid_404_html . $this->load->view('pixel', array('client_id' => $this->session->userdata('client_id')), true))
// Part that returns the error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.