• Resolved KissMyLegs

    (@kissmylegs)


    I have set up one product to test your plugin. I have set the default Woocommerce pricing to $25.99 and sale = $11.99
    I then went and created a CUSTOMER user role and set regular price to $24.99 and sale = $10.99
    When I’m not logged in to my site the price I see is $25.99 on sale for $11.99. However, when I login as a CUSTOMER, I do not see $24.99 and sale = $10.99, I see $25.99 and sale = $11.99.
    Users will FIRST come to my site (as non-logged in user) and then either continue to browse as a first time non-logged in customer OR login (SUBSCRIBER or BOUTIQUE).
    **If I remove the default Woocommerce pricing ($25.99 and sale = %11.99), then I see no price when not logged in. However, the CUSTOMER (once logged in) sees $24.99 and sale = $10.99.
    I cannot leave the pricing blank for people that come to my site (first time visitor) and are not shown a price of a product. I do not force people to create an account first.
    Why is the customer role not seeing the pricing of $24.99 and sale = $10.99?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author meowcrew

    (@meowcrew)

    Hi there,

    I suppose you didn’t get the idea of how user roles work.
    If you have visitors on your site, they are not considered users by WP until they log in. Prices for the ‘customer’ role you created will apply only to those users who have the ‘customer’ role set here – https://monosnap.com/file/ftedMlMgVr7Wwon3FgI7HJCnQCWmsr.
    When the user isn’t logged in or even registered, you cannot assign any role to them. And that is not what our plugin is capable of changing.

    I can’t get why you don’t use regular WooCommerce pricing for those users you define ‘customers’? If I got you right, everyone without a specific role (subscriber or boutique) should see $24.99 and $10.99 costs. Who then should see the $25.99 and $11.99?

    Thread Starter KissMyLegs

    (@kissmylegs)

    Hi…I figured it out. It had to do with my caching plugin. Once I clear cache things work.

    I am now NOT using the customer role (and using default wp pricing for visitors not logged in.) I only use the Subscriber and Boutique (made by me) for role based pricing. The other RBP plugin I was using DID have a CUSTOMER as well as a NOT LOGGED IN role that I could se the price for.

    Visitors that do not sign in will see a default price now. The same goes for a “Customer”…they will see the same price as a “Visitor”. Subscribers and Boutiques will each see their set price (it works beautifully).

    I like the fact your plugin seems to be working with the default WP sort by price (even with variations)!!
    Thanks for your help.

    • This reply was modified 2 years, 9 months ago by KissMyLegs.
    Thread Starter KissMyLegs

    (@kissmylegs)

    One last question – are there shortcodes to display prices by role? I need to display all set prices when a particular user is logged in (my wife lol). She needs to see what the prices are for each user role we have set. So, Customer, Subscriber, Boutique. I would like to display the price for each role in the single product page (where I do so now).

    Plugin Author meowcrew

    (@meowcrew)

    Oh, sorry, I didn’t get you the first time.
    Yeah, caching can be tricky.

    Regarding shortcode – unfortunately no, there’s no shortcode for that purpose. The only thing I can advise you here is to use default Woo export, to have all prices in one place (but that’s a premium feature).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Price stays the same…’ is closed to new replies.