PDP and CART Integration
Fenix Global EDD Script in the Bigcommerce themes:Â
Enable Fenix’s estimated delivery date on PDP ( Product Page ) pages; there are few pre-requests information required for Fenix API to provide estimates. Global script primary responsibility isÂ
Detect the user’s default zip code using the IP address. If the user detects in the USA region, Fenix will provide EDD in the PDP and CART pages.Â
Ability to provide EDD check for customer required zip code instead of default detected for desired USA zip codes.Â
Ability to get the current SKU information from the PDP page.
Sample that we have integrated :Â
Â
Steps to install
Login to your Bigcommerce store.
You should be able to select “Storefront >> Script Manager“ from the Dashboard menu.
You should be able to add scripts in your theme.
There 2 versions of Scripts with jQuery and without jQuery based on your store theme.
Need to select correct version of Fenix PDP Estimates - jQuery and Fenix PDP Estimates - no-jQuery
First script you should be able to add is jQuery only if your store doesn’t support jQuery.
Value as https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js
Settings can be followed as below :
Next script you should be able to add is Fenix PDP Estimates
Settings can be followed as below :
8. In the same file/scripts added, You should be able to replace 2 variables.
['GET_HTML_TAG']
and
['GET_HTML_SELECTOR_ID_OR_CLASS_NAME']
9. i.e. the placement where you need to show Fenix Delivery Estimates widget.
Example Below:
Â
10. Next script you should be able to add is fenix-fixd-estimate.js
11. Settings can be followed as below
Â
Â
That completes PDP integration.