• ashleycyber

    (@ashleycyber)


    How can we replace age restricted product content on shop/archive page with the restricted content message and button?

Viewing 8 replies - 16 through 23 (of 23 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @ashleycyber,

    That’s not happening to me, tested in a couple of browsers (Chrome/Safari), what browser are you using?

    It could do that in a valid way though if one product has a higher age restriction, but doesn’t look like that’s what it is.

    Thanks
    Phil

    Thread Starter ashleycyber

    (@ashleycyber)

    We’ve testing it on Chrome, Edge, and FF. Age is not set per product – all are the same.

    So if you go to https://staging.yougrogurl.com/shop/gifts-rewards, click ‘Yes, I am 21+ Years Old”, scroll down and go to the next page (page 2) …. you see the products?

    • This reply was modified 3 years, 11 months ago by ashleycyber.
    Thread Starter ashleycyber

    (@ashleycyber)

    We have to refresh the page in order for the restricted product alerts to go away (so the cookie IS set properly)

    Plugin Author Phil

    (@philsbury)

    Hi @ashleycyber,

    Ah, I see. I’ll have a look into it and see what I can work out.

    Thanks
    Phil

    Thread Starter ashleycyber

    (@ashleycyber)

    Thank you!

    Plugin Author Phil

    (@philsbury)

    Hi @ashleycyber – if you update to 2.15.0, it should (hopefully) work now

    Thanks
    Phil

    Thread Starter ashleycyber

    (@ashleycyber)

    That seems to have done the trick – thank you!

    When going to the next page, however, shouldn’t it go back up to the top of the page?

    Plugin Author Phil

    (@philsbury)

    Great!

    I’d say it should scroll up from a user perspective, but the pagination isn’t an age gate thing so you’d have to raise that with whoever provides that functionality ??

    Thanks
    Phil

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Replace age restricted product content on shop / archive page’ is closed to new replies.