varunsridharan / woocommerce-role-based-price

WooCommerce Role Based Price Plugin
https://codecanyon.net/item/woocommerce-role-based-pricing-pro/14120734
GNU General Public License v3.0
48 stars 22 forks source link

upgrade from 2.8.4 to 2.8.7 on WP4.4 breaks prices #22

Closed Jan-C-A closed 7 years ago

Jan-C-A commented 8 years ago

Hi I'm running WP 4.4 and WooCommerce 2.4.12 After upgrading plugins the other day, suddenly most of my products was listed for FREE and the Price in the cart was 0.00. I rolled back to backup a few days previously. I couldn't reproduce the FREE label on the products but I can reproduce the 0.00 Price totals in cart. Whenever I update WooCommerce-Role-BAsed-Price from 2.8.4 to 2.8.7 the Price totals in cart is 0.00, which doesn't make much of a business.

As a fix to this I deleted the files in Plugin\woocommerce-role-based-price folder and copied in version 2.8.4 files from the same directory in my backup

varunsridharan commented 8 years ago

@Jan-C-A

Can you please download the latest version from github and check for the same issue ?

BernardMyburgh commented 8 years ago

I had the same issue with prices being FREE all of a sudden for no reason, had to downgrade to previous version, it didnt fix the issue, had to update every price individually. There should be a refresh all prices button maybe? Bulk edit all prices so I don't have to do it one by one?

Jan-C-A commented 8 years ago

Hi

For me all prices where shown correctly in admin interface, only on webshop most products was free, so I figured that it might be a problem with some kind of view in wp. I agree that it would be cool to have a sort of spreadsheet display of prices in admin interface, so you get an overview and quickly can edit prices. Maybe one spreadsheet tab pr userrole with prices for all products.

Sendt fra min iPhone

Den 20. jan. 2016 kl. 09.05 skrev Bernard Myburgh notifications@github.com<mailto:notifications@github.com>:

I had the same issue with prices being FREE all of a sudden for no reason, had to downgrade to previous version, it didnt fix the issue, had to update every price individually. There should be a refresh all prices button maybe? Bulk edit all prices so I don't have to do it one by one?

— Reply to this email directly or view it on GitHubhttps://github.com/technofreaky/WooCommerce-Role-Based-Price/issues/22#issuecomment-173118978.

varunsridharan commented 8 years ago

@BernardMyburgh You are just diverting this issue with another issue :( because current is releated to products showing free when upgraded to latest version. but you are telling that products price are showing for free when updating with wpallimport or some importer. please create a separate issue

@Jan-C-A Please just confirm me. if the source in github works prefect ?? i know that source from wp.org has some price issue. so i am working for the fix. all the fix are updated in github in this repo

BernardMyburgh commented 8 years ago

Sorry I didn't mean to divert the issue. I had the same issue as this guy Jan-C-A, products showing as free after update, and I solved it by updating each product one by one. So I am posting a solution to his problem, i.e. open product, click add/edit user roles, switch it off, save, switch it on, save, update product. This made my prices go back to normal again.

My suggestion or possible solution for you is to make a button that says, "refresh prices", then it would do the equivalent of what I just explained except with one button, instead of doing it one by one for every product. I really like this plugin and want to help it get better.

varunsridharan commented 8 years ago

@BernardMyburgh

I checked in my local. i really cant replicate the issue. and there is no need of using a refresh prices button

Jan-C-A commented 8 years ago

I Just tried ver 2.8.8 and the result was that Cart was emptied and items could no longer be added to cart. The 'add to cart' button simply disappeared