• Hi,

    A. Just wondering if this plugin would work with role based pricing?

    B. Anyone else getting the error for installing?

    Parse error: syntax error, unexpected ‘else’ (T_ELSE), expecting function (T_FUNCTION) or const (T_CONST) \wp-content\plugins\warehouse-popups-woocommerce\admin\class-warehouse-popups-woocommerce-admin.php on line 147

    Thank you,
    Sean

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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 5 years, 1 month ago by allanext.
    Thread Starter Sean Lacey

    (@norgo)

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Role Based Pricing’ is closed to new replies.