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

  1. Login to your Bigcommerce store.

  2. You should be able to select “Storefront >> Script Manager“ from the Dashboard menu.

  3. You should be able to add scripts in your theme.

  4. There 2 versions of Scripts with jQuery and without jQuery based on your store theme.

  5. Need to select correct version of Fenix PDP Estimates - jQuery and Fenix PDP Estimates - no-jQuery

  6. First script you should be able to add is jQuery only if your store doesn’t support jQuery.

  7. Value as https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js

  8. Settings can be followed as below :

  9. Next script you should be able to add is Fenix PDP Estimates

  10. 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.