Adding WooCommerce's Price-info Widget

For adding Price-info Widget to your Website, follow the instruction
Step 1: Find price.php from the following location in your hosting (Wordpress installed Folder) and open it with your desired text-editor

YourWordpressFolder\wp-content\plugins\woocommerce\templates\single-product

Step 2: Find "Price tag" as shown below

<p class="price"><?php echo $product->get_price_html(); ?></p>

Step 3: Place the following <script> tag below the "Price tag".

<script id="certegy_ezipay-price-info" src="https://widgets.certegyezipay.com.au/content/scripts/price-info.js?productPrice=<?php echo wc_get_price_to_display($product); ?>"></script>

Step 4: Save and you should see a working widget on your website.


Note: If you are using a custom template for WooCommerce, "price.php" will be located in "yourtheme/woocommerce/single-product/price.php."