Plugin Author
Joel
(@joeleem0n)
Hi @norgo
I’ll get the error updated for you next week. Sorry for the lapse in replying.
Could you explain a little more about what you mean by role based pricing in how you’d like it to work?
Plugin Author
Joel
(@joeleem0n)
@norgo The plugin was updated and the error codes should be fixed. We’re working on custom pricing per product / region now.
Hi @joeleem0n,
I think the error is still there:
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected 'else' (T_ELSE), expecting function (T_FUNCTION) or const (T_CONST) in /Sites/wp/wp-content/plugins/warehouse-popups-woocommerce/admin/class-warehouse-popups-woocommerce-admin.php on line 147
I’m not sure what is happening in the _e function, but changing the line:
?><h2><?php _e( 'Edit Warehouse Details', 'warehouse-popups-woocommerce' );?></h2><?php
to:
_e( 'Edit Warehouse Details', 'warehouse-popups-woocommerce' );
it works.
I think @norgo wants to have different product (variations?) pricing based on the user’s group, for example wholesales pricing or a special pricing for a certain group of people
Best!
This seems to be resolved with 1.2.4, thanks @joeleem0n !
This should be marked as resolved.
-
This reply was modified 6 years, 7 months ago by
allanext.
Hi,
Thanks for the update.
It installed this time however in the product inventory tab we are now getting:
Warning: sizeof(): Parameter must be an array or an object that implements Countable in \wp-content\plugins\warehouse-popups-woocommerce\admin\class-warehouse-popups-woocommerce-admin.php on line 727
Sorry, time went by and not sure what version of PHP I had before, but it seems PHP 7.2+ may be the problem.
HAGD
Sean
Plugin Author
Joel
(@joeleem0n)
hi @norgo. Thanks for making us aware. I have our developers working on a fix as well as some updates with pricing. Google finance integrations for custom prices & currency for simple products between different regions. I’ll notify you when the fix is updated next week.