Read WooCommerce Discount plugin data for each product, and insert it in an HTML table in the Product page


We are an online store that sells promotional articles in the UK. I’m designing our webpage with WordPress + WooCommerce and it's going fine, but I need to read information from a plugin and display it in WooCommerce product page.


As you know, WooCommerce only allows to have one price per product, so I'm using 'Bulk Discount Plugin' to have quantity-based discounts for each product. At the moment, I have 5 levels of discount per product, depending on the product's quantity selected by the customer:

* 50 - 99 -----> Discount level 1

* 100 - 249 -----> Discount level 2

* 250 - 499 -----> Discount level 3

* 500 - 999 -----> Discount level 4

* 1000 - 1999 -----> Discount level 5

The 'Bulk Discount Plugin' is working perfectly fine; each WooCommerce product has 5 different levels of discount and the discount percentages are populated from an external source into WooCommerce Bulk Discount tab, using a JSON importer.


Using a PHP snippet, I created a new tab in WooCommerce product page with a table for showing the different discount prices for each product (image attached). What I need to do is to complete my PHP code to do the following things:

1. Read the 5 discount percentages configured in WooCommerce Bulk Discount plugin for each product.

2. Read the WooCommerce price for each product.

3. Multiply the price * discount percentage, to get the 5 different discount prices.

4. Show the results in the HTML table which I already created on the Product page.

I'm attaching images of the table and the plugin to make it clearer.


Kemahiran: HTML, PHP, WooCommerce, Wordpress

Lihat lagi: data excel html table, flash builder insert html table, paste data excel html table, wordpress, html table facebook page, insert html javsscript joomla page, copy html table web page word, insert html table flash, display data sql html table using aspnet, radgrid editor data insert sql table, parse html table aspnet page, data extraction html table, acces table data populate html table, extract data html table, sraping data html table, extract data html table php

Tentang Majikan:
( 1 ulasan ) Lancaster, United Kingdom

ID Projek: #15650148

Dianugerahkan kepada:


Hello, My name is Sergey. I am Freelancer from [login to view URL], Russia. I can help you as Woocommerce programmer to calculate 5 discount prices and show results in the HTML table. Relevant Skills and Experience Please, Lagi

€50 EUR dalam sehari
(1615 Ulasan)

5 pekerja bebas membida secara purata €30 untuk pekerjaan ini


i saw attached image and i love to work on it ready to start now Relevant Skills and Experience woocommerce, php, html, css Proposed Milestones €44 EUR - 44

€44 EUR dalam sehari
(144 Ulasan)
€23 EUR dalam sehari
(101 Ulasan)

I am good for this project Becuase i have great experience in this field. Can we discus more about this project? Relevant Skills and Experience I am having 7 year WordPress experience and have done lots of work with w Lagi

€23 EUR dalam sehari
(8 Ulasan)

I am expert on this work Relevant Skills and Experience Hi, I am Shamima. I am very much interested on your project . I feel that I am the exact match for your reviewing the job description and desired skills. Regards Lagi

€12 EUR dalam sehari
(0 Ulasan)