Title: Woocommerce Quantity Table
Author: riotweb
Published: <strong>29 de juliol de 2016</strong>
Last modified: 29 de juliol de 2016

---

Cerca extensions

![](https://s.w.org/plugins/geopattern-icon/dynamic-pricing-quantity-table_d4d4d4.
svg)

# dynamic-pricing-quantity-table

 Per [riotweb](https://profiles.wordpress.org/riotweb/)

 * [Detalls](https://ca.wordpress.org/plugins/dynamic-pricing-quantity-table/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/dynamic-pricing-quantity-table/#reviews)
 * [Desenvolupament](https://ca.wordpress.org/plugins/dynamic-pricing-quantity-table/#developers)

 [Suport](https://wordpress.org/support/plugin/dynamic-pricing-quantity-table/)

## Descripció

Aquesta extensió s’ha tancat a partir de 22 de setembre de 2025 i no està disponible
per a la seva descàrrega. Motiu: Violació de la llicència/marca registrada.

## Ressenyes

![](https://secure.gravatar.com/avatar/23ba77016393b30c9cf13a4aa1a44624215385eb5d8c03fade91ac2dd0d72685?
s=60&d=retro&r=g)

### 󠀁[awsome](https://wordpress.org/support/topic/awsome-203/)󠁿

 [kits](https://profiles.wordpress.org/kits/) 2 de novembre de 2018

its cool

![](https://secure.gravatar.com/avatar/d185614941909fc3502f43b582cec90d4f82d0c72c4ab2aa4af30d6fbcc64e05?
s=60&d=retro&r=g)

### 󠀁[Works great but some compatibility issues](https://wordpress.org/support/topic/works-great-4279/)󠁿

 [brashfordmedia](https://profiles.wordpress.org/brashfordmedia/) 5 de setembre 
de 2017 1 resposta

It does the job just fine but if you don’t want it showing up in the related products
there are some bugs that need fixing.

![](https://secure.gravatar.com/avatar/66387cf6f05cae6230aa863f5e1a0839dfa1ba1eb478004834ff66ff4a8b8b9d?
s=60&d=retro&r=g)

### 󠀁[Wanted this just on product pages (see code)](https://wordpress.org/support/topic/wanted-this-just-on-product-pages-see-code/)󠁿

 [ukphonemedics](https://profiles.wordpress.org/ukphonemedics/) 19 de novembre de
2016

im leaving a 3 star review as its a good plugin just not what i was looking for.
for anyone else having the same issue just over right the code in quantity-table.
php with the following code. <?php /* Plugin Name: Woocommerce Quantity Table Plugin
URI: https://riotweb.nl Description: Extension for Dynamic Pricing plugin that shows
a table with price and quantity. Author: RiotWeb Version: 1.0 Author URI: https://
riotweb.nl/plugins License: GPLv2 License URI: http://www.gnu.org/licenses/gpl-2.0.
html */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } error_reporting(
0); /** * Check if WooCommerce is active **/ if ( in_array( 'woocommerce/woocommerce.
php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) { add_filter('
woocommerce_get_price_html', 'omniwp_credit_dollars_price', 10, 2 ); function omniwp_credit_dollars_price(
$price, $product ) { $pricing_rule_sets = get_post_meta( $product->post->ID, '_pricing_rules',
true ); $pricing_rule_sets = array_shift( $pricing_rule_sets ); if ( $pricing_rule_sets&&
is_array( $pricing_rule_sets ) && sizeof( $pricing_rule_sets ) ) { ob_start(); if(
is_product()){?> <span class="savemoney">Save more the more you buy!</span> <table
width="80%"> <thead> <tr> <th><?php _e('Quantity', 'omniwp_core_functionality' )?
></th> <th>Discount</th> <th>Price</th> </tr> </thead> <?php foreach ( $pricing_rule_sets['
rules'] as $key => $value ) { if ( '*' == $pricing_rule_sets['rules'][$key]['to']){}
else { $x++; $class = ($x%2 == 0)? 'tabledark': 'lablelight'; echo "<tr align='center'
valign='middle' class='$class'>";?> <td><?php printf( __( '%s – %s', 'omniwp_core_functionality'),
$pricing_rule_sets['rules'][$key]['from'], $pricing_rule_sets['rules'][$key]['to'])?
></td> <td><?php echo woocommerce_price( $pricing_rule_sets['rules'][$key]['amount']);?
></td> <td><?php $newdealprice = $product->get_price() – $pricing_rule_sets['rules'][
$key]['amount']; echo $newdealprice;?></td> </tr > <?php } } ?> </table> <style>.
tabledark { background-color:#eae5e5; } .lablelight { background-color:#f9f2f2; }.
savemoney{ font-size:14px; font-weight:bold; } </style> <?php $price = ob_get_clean();}
return $price; } } add_action( 'plugins_loaded', 'woocommerce_quantity_table_textdomain');}

![](https://secure.gravatar.com/avatar/28345062f58aae97ef99e27bcda0855ab39277df44e22126b9a1edb36e320a14?
s=60&d=retro&r=g)

### 󠀁[Shows Up everywhere](https://wordpress.org/support/topic/shows-up-everywhere/)󠁿

 [Drew Teichman](https://profiles.wordpress.org/idwdrew/) 3 de octubre de 2016 1
resposta

The table shows up everywhere X_X On related products, upsells/cross-sells, catalog
pages, etc.. Looks really messy.

 [ Llegiu totes les 5 ressenyes ](https://wordpress.org/support/plugin/dynamic-pricing-quantity-table/reviews/)

## Col·laboradors i desenvolupadors

«Woocommerce Quantity Table» és programari de codi obert. La següent gent ha col·laborat
en aquesta extensió.

Col·laboradors

 *   [ riotweb ](https://profiles.wordpress.org/riotweb/)

[Traduïu «Woocommerce Quantity Table» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/dynamic-pricing-quantity-table)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/dynamic-pricing-quantity-table/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/dynamic-pricing-quantity-table/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/dynamic-pricing-quantity-table/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/dynamic-pricing-quantity-table/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versió **1.0**
 *  Darrera actualització **fa 10 anys**
 *  Instal·lacions actives **No disponible**
 *  Versió del WordPress ** 4.0 o posterior **
 *  Provada fins a **4.5.33**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/dynamic-pricing-quantity-table/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/dynamic-pricing-quantity-table/advanced/)