Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Shopify modify assset PHP
// Update 404 page HTML with pixel
$liquid_404_pixel = $this->shopify->call('PUT', '/admin/themes/' . $main_theme_id . '/assets.json',
array(
'asset' =>
array(
'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
var_dump($liquid_404_pixel);
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.