bigcommerce

How to make a BigCommerce widget compatible with PageBuilder

不想你离开。 提交于 2021-02-10 20:20:53
问题 I'm following the tutorial here https://developer.bigcommerce.com/api-docs/storefront/widgets/widgets-tutorial I made the widget template by performing a post request to https://api.bigcommerce.com/stores/81mdugvyu5/v3/content/widget-templates with this in the body { "name": "Header Images", "template": "{{#each images}}<a href='{{image_url}}'><img src={{image_source}} style='width:33.3%'/></a>{{/each}}" } The response was successful. I then performed a post request to https://api.bigcommerce

How to make a BigCommerce widget compatible with PageBuilder

一笑奈何 提交于 2021-02-10 20:20:43
问题 I'm following the tutorial here https://developer.bigcommerce.com/api-docs/storefront/widgets/widgets-tutorial I made the widget template by performing a post request to https://api.bigcommerce.com/stores/81mdugvyu5/v3/content/widget-templates with this in the body { "name": "Header Images", "template": "{{#each images}}<a href='{{image_url}}'><img src={{image_source}} style='width:33.3%'/></a>{{/each}}" } The response was successful. I then performed a post request to https://api.bigcommerce

Responsive design on California Responsive BigCommerce template

非 Y 不嫁゛ 提交于 2020-01-17 12:42:24
问题 I am looking for some simple guidance for someone that can cope with most design basics but I am stuck in one area of my website design for findmethatwine.com Dektop site is working as we want it (always room to improve but hey). It is the responsive side in one area I am grappling with. The logo for the site when you reduce screen size to tablet or mobile the template responds. The issue is I want to float the logo over to the left of the screen (for mobile devices) so this gives us room to

BigCommerce - Custom Shipping Method (RoyalMail Widget for Collect Location)

狂风中的少年 提交于 2020-01-16 15:52:26
问题 I would like to setup custom shipping option using RoyalMail collect widget so customer can go through widget and it would return address after customer selection. So we need to map those address fields with customer shipping address fields. I have tried with checkout-js-sdk but it required considerable effort to create customm checkout from scratch. I am aiming to have a solution to map widget with BigCommerce shipping method using JavaScript or Angular Js. window.language = {{ langJson

BigCommerce webhooks listener in rails

你。 提交于 2020-01-15 12:26:08
问题 I'm following the instructions here http://developer.bigcommerce.com/api/webhooks/quickstart to set up webhooks to initiate some third-party order processing. We've been doing this on an hourly batch, real-time webhook triggers will save us a lot of lag time. I think I've set up the webhook broadcaster, but can't see any evidence that it's being fired- I've created a bunch of new orders and nothing reaches the rails server. How can I tell if BigCommerce is firing events when / where I expect?

Clearer response from BigCommerce

Deadly 提交于 2020-01-15 06:44:09
问题 Can BigCommerce change their API response to be more clear when a program tries to post a shipment that already exists? When posting shipments to BigCommerce, if the shipment already exists, then you receive the following error message. <?xml version="1.0"?> <errors> <error> <status>400</status> <message>The field 'quantity' is invalid.</message> <details> <invalid_reason>The quantity specified is greater than the quantity of the product that is available to ship.</invalid_reason> <available

Adding item to cart with BigCommerce Stencil

ⅰ亾dé卋堺 提交于 2020-01-06 19:56:53
问题 This question is specific to BigCommerce Stencil. Is it possible to use 'cart-item-add' hook outside of product context? Right now when user adds product from 'product card' they get sent to cart. I'd like to change that behaviour. 回答1: I was able to get it working with utils.api.cart.itemAdd() The issue was my add to cart form action. In the product card I needed to use {{add_to_cart_url}}" instead of {{product.cart_url}} 来源: https://stackoverflow.com/questions/35165847/adding-item-to-cart

Why do some order products have a product_id of 0

有些话、适合烂在心里 提交于 2020-01-05 08:48:32
问题 Product with id 0 is not retrievable. Why are some order products associated with product_id 0? Is this a product that was deleted, but and order was already placed? 回答1: "product_id": 0 indicates "custom product" which can be added both via Control Panel or API. Search for "custom product" on Orders API documentation page for more details: https://developer.bigcommerce.com/api/stores/v2/orders (the page doesn't explicitely mention that product_id for custom products is 0) 来源: https:/

Custom Webhook Receiver in .Net core 2.1

不打扰是莪最后的温柔 提交于 2020-01-05 06:14:45
问题 I'm trying to create webhooks receiver for bigcommerce webhooks. [HttpPost("customer_update")] public void GetCustomerUpdateHook() { d_logger.Information("Process Webhook reply Web Response Hit"); } my function is getting hit without any issues. But I don't know how to access the receiving data. I'm not sure how to use WebHookHandler. framework => .Net core 2.1 controller => API Controller 回答1: I was able to receive the data, without using webhook handler or receiver. I just created a "POST"

Accessing Google Shopping Fields via BigCommerce API

帅比萌擦擦* 提交于 2020-01-04 07:17:40
问题 I am creating a custom integration with a third party part supplier to create products in their inventory in BigCommerce. I Need the ability to turn on google shopping for the products imported and add the MPN and category, but i don't see how to modify this in the API. If anyone has any feedback please let me know! 回答1: So, after contacting BigCommerce about this issue. The API does not have access to the Google shopping fields. Bummer. However as a workaround you can generate an import file