Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PRC widget implementation:

  1. Search and open Sections > product-tab.liquid file.

  2. That file is responsible of the product details page. There we need to place the code snippet in such a way that it will display the widget in front store. You can place it either after the product description or under the tabs.Follow the Step 1 and Step 2 same as mention in the Seller Widget Implementation

  3. Once you are in the edit theme file mode you have to click on Sections and a drop-down will open you from where you have to open product-template.liquid file as shown in the picture below.

    Image Added


  4. Once the file is opened up you have to place the PRC widget code right before the following code
    {% if collection %}

    Image Added



  5. Please make sure that you edit the PRC code and place the placeholder inside the PRC widget code for product_id

  6. In our case for this file the placeholder will be
    {{ product.id }}

  7. After editing the PRC code it will look something like below.

    Image Added

Note: There is a possibility that the filenames wouldn’t be same as above because those depend on the theme structure that is used for the store. But predominantly the above naming is followed and used to implement the widgets by default in Shopify ecommerce store.

...