Giter Site home page Giter Site logo

stuartduff / woocommerce-dynamic-pricing-table Goto Github PK

View Code? Open in Web Editor NEW
35.0 35.0 12.0 36 KB

WooCommerce dynamic pricing table adds a pricing discount table to WooCommerce products that are offering bulk discounts or special offer discounts and user role discount messages to WooCommerce sections via the WooCommerce Dynamic Pricing plugin.

Home Page: https://stuartduff.com/woocommerce-dynamic-pricing-product-discount-table-extension/

PHP 100.00%

woocommerce-dynamic-pricing-table's People

Contributors

stuartduff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

woocommerce-dynamic-pricing-table's Issues

Custom tables on Advanced Category Pricing

I have create custom code for tables and everything is fine when i use my tables on every single product.
I cannot find a way to show the tables when i use from plugin settings the option Advanced Category Pricing.

Please help!

Thank you so much for making this plugin available. A couple of suggestions.

@stuartduff I have been looking for this days and nights. Thank you for creating it! I have a couple of suggestions:

  1. for the last quantity rule, usually it is from **** (a number) To quantity blank (infinity ). Right now, if I leave the "To" quantity "blank" in the back-end, it shows 0 on the front end
  2. It would be great if this can display multiple tables for each variation of the variable product quantity based discounts.

Such as:

Blue+Large Variation
.... Price Table here....

Blue+Small Variation
.... Price Table here....

Green+Large Variation
.... Price Table here....

etc.

Thanks again!

Great plugin, does the job, but one request for user-roles please

We're using the WPMU DEV - Members plugin, we've assigned trade pricing on certain products based on user role, but on an individual product basis.

My question is, can we display the table ONLY to certain user roles, i've managed to get it working using the following code: if( current_user_can('wholesale_buyer') || current_user_can('administrator') )

However when I place this on line 200 and a } on line 206. I get an error saying:
[07-Nov-2018 12:55:48 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/site/public_html/wp-content/plugins/woocommerce-dynamic-pricing-table-master/woocommerce-dynamic-pricing-table.php on line 207.

Is there some PHP misconfiguration I've done?

Please advise.

Change quantity and show rediscounted price

we are looking for a solution for the following topics. Does anyone have any ideas on how to implement this?

  1. only indicate "from" in the number and the number of pieces with the lowest number of prints
  2. don't show the discount but the reduced price

Thanks for your help!

Pricing Table Does Not Display

If anyone else is having trouble with this plugin using only Dynamic Pricing Plugin - change line 143 to this:
add_action( 'woocommerce_before_add_to_cart_button', array( $this, 'bulk_pricing_table_output' ) );

Table moves everything down on the page

Hi there,

When I include the pricing table onto a product page, it moves everything else below further down the page creating a huge empty space. See attached screen shots.

Any suggestion on how to fix this?

Best regards,

Ian

dyanmic pricing table 1
dyanmic pricing table without

Add support for simple category discounts

Add support for simple category discounts to display for customers on product category sections that they are enabled for from within the main Dynamic Pricing plugin.

simple-category-discount

Doesn't take into account the pricing by roles function

Hi,

Awesome you created a plugin for the woocommerce dynamic pricing plugin! Thank you for this.

I was wondering is it also possible to hide the pricing table for a specific user role? With the previous dynamic discount plugin i used i could install the following plugin to achieve that:

  • WooCommerce Prices By User Role by festi team.

However now this plugin DOES hide the normal woocommerce price but doesn't hide the pricing table you've created.

Any way to fix this?

Cheers,
Jim

Product list not displaying

When the plugin is activated the products list in the admin (/wp-admin/edit.php?post_type=product) is all blank.

Below is the error message.

`2016/09/03 07:40:45 [error] 30751#30751: *2792 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wc_add_notice() in /var/www/html/wp-content/plugins/woocommerce-dynamic-pricing-table-master/woocommerce-dynamic-pricing-table.php:353
Stack trace:
#0 /var/www/html/wp-content/plugins/woocommerce-dynamic-pricing-table-master/woocommerce-dynamic-pricing-table.php(363): WC_Dynamic_Pricing_Table->role_discount_notification_message()
#1 /var/www/html/wp-includes/plugin.php(600): WC_Dynamic_Pricing_Table->output_dynamic_pricing_role_message(Object(WP))
#2 /var/www/html/wp-includes/class-wp.php(738): do_action_ref_array('wp', Array)
#3 /var/www/html/wp-includes/functions.php(963): WP->main(Array)
#4 /var/www/html/wp-admin/includes/post.php(1070): wp(Array)
#5 /var/www/html/wp-admin/includes/class-wp-posts-list-table.php(142): wp_edit_posts_query()
#6 /var/www/html/wp-admin/edit.php(176): WP_Posts_List_Table->prepare_items()
#7 {main}

thrown in /var/www/html/wp-content/plugins/woocommerce-dynamic-pricing-table-master/woocommerce-dynamic-" while reading response header from upstream, client: 58.179.25.195, server: _, request: "GET /wp-admin/edit.php?post_type=product HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "45.63.24.64", referrer: "https://45.63.24.64/wp-admin/plugins.php?plugin_status=all&paged=1&s"
2016/09/03 07:42:31 [error] 30751#30751: *2792 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wc_add_notice() in /var/www/html/wp-content/plugins/woocommerce-dynamic-pricing-table-master/woocommerce-dynamic-pricing-table.php:353`

dynamic pricing table plug in

Has any one made a video how to install and set up individual products in a store???

I want to make in each products different prices for quantity pricing that shows before selecting like
1-10 $10.00
11-19 $ 9.00
20-50 $ 8.00

this sort of thing, where the customers see it and it change get changed when a global pricing increase is apply if someone knpw how do do [email protected] is my email

Undefined variable: info_message

Hi! Thanks for a great plugin.

When activating it and checking the product page, I get this error:

Notice: Undefined variable: info_message in /plugins/woocommerce-dynamic-pricing-table-master/woocommerce-dynamic-pricing-table.php on line 406

What could that be about?

Table not displaying for multiple variations

The table displays if I have have bulk quantities set for one variation on a product but if my product has multiple variations with bulk quantities it does not display.

Are there shortcodes? I could use shortcodes and style it myself if there are some

HPOS

Would a move to High-performance order storage require any changes to this plugin?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.