add_theme_support( ‘woocommerce’ ); need to Add the following to functions.php After adding this we can override the WooCommerce templates like Archieve-product.php Taxnomy-product_cat.php Single-product.php Files for the Category main page which includes the main categories and the next file includes the subcategory category and Product page with the category is listed in the Taxnomy-product_cat.php file And… Continue reading To Overide the WooCommerce Templates
Tag: Rest API
Create an item fulfillment from a sales order record through REST API.
Workflow state that can impact REST Webservices.
After creating the Integration records and access tokens for connecting the NetSuite account, when we try to fetch a particular record data from the account an error is returned throwing a ‘Permission issue’.The REST API role has the required permissions added in the role section. If there is a workflow deployed to the record for… Continue reading Workflow state that can impact REST Webservices.
How to connect Service (Sale) Items via REST API
Create API Credentials: Log in to your NetSuite account as an administrator. Navigate to “Setup” > “Integration” > “Manage Integrations” > “New.” Create a new integration record and generate the API credentials (e.g., Consumer Key, Consumer Secret, Token ID, Token Secret). Take note of these credentials as they will be used to authenticate your API… Continue reading How to connect Service (Sale) Items via REST API
Proposal for BigCommerce- NetSuite integration via REST API
PROPOSAL SUMMARY This proposal covers the scope of BigCommerce – NetSuite Integration via REST API. REQUIREMENT A solution to sync the Items, customers, Orders, Shipments, Refund between Big Commerce and NetSuite. PREREQUSITES Need to create Account API prior to integration in Big Commerce. Only store owner account in Big Commerce can set up Account API. So, the… Continue reading Proposal for BigCommerce- NetSuite integration via REST API
How to fix a Restlet request error in Postman while testing
Check if the Restlet URL used is correct compared with the Restlet script record ‘External URL link’ field value. Check if the Request type is correct(GET/POST/PUT…) Check if correct values are used for consumer key, consumer secret, access token, and token secret.We can create a new integration in NetSuite through navigation: SetUp > Integration >… Continue reading How to fix a Restlet request error in Postman while testing
Passing the data in response to the next step in Rest API connection – Celigo
After the import step go to the response mapping and create a mapping for the _json field as the following The HTTP response looks like the following Then in the field mapping add the path to this value in HTTP response and map it with the field in which we need to add this data
Iterating through an array in the handlebar
If you have an array of objects, using the following way we can iterate through each object
How to generate Basic authentication headers for REST API in suitescript?
REST API supports only ‘Basic authentication’ and ‘OAuth 1.0a’ authentication methods.We can generate Basic authentication headers for REST API requests in suitescript using suitescript modules from the username and API token(password).Authentication header need to be passed as header with every request that require authentication. If we use Postman software we can see an authentication header… Continue reading How to generate Basic authentication headers for REST API in suitescript?
HOW TO: Use handlebars to pass the value of a variable in an array as part of the Relative URI
In this scenario, you need to pass the value of a variable in an array. You have 3 items in your array and would like to send the product as part of the Relative URI { “Data”: [ { “product”: “bikes” }, { “product”: “snowboards” }, { “product”: “skis” } ] } Choose Yes (Advanced) on the One… Continue reading HOW TO: Use handlebars to pass the value of a variable in an array as part of the Relative URI