Category : bigcommerce

I’m using Laravel to consume the Bigcommerce V3 API. I have ben able to succesfully create a new cart. But when trying to add an item to it, I keep getting a 422: Missing required fields error. I’m making my request trough Guzzle like this: return json_decode($this->client->getRestClient() ->post(‘carts/’.$cartId.’/items?include=line_items.physical_items.options’, [ ‘Accept’ => ‘application/json’, ‘json’ => [ ..

Read more

How can I add a querystring to right after "image=product.main_image" directive. I just want to add a querystring to the SRC tag of the image but I don’t know how to edit BigCommerce code. Thank you. {{> components/common/responsive-img image=product.main_image class="productView-image–default" fallback_size=theme_settings.product_size lazyload=theme_settings.lazyload_mode default_image=theme_settings.default_image_product otherAttributes="data-main-image" }} Sourc..

Read more