snippet24
Forum Replies Created
-
Thanks, should I have explained better I was thinking for new admin users of ProfilePress rather than users accessing the checkout, but is a good idea as well and could be used for both. I’d change the default “Your cart is currently empty. Click here to get started.” for something like “This page doesn’t refer to an existing membership plan page, please check your list of plan urls here if you are the owner of the site.
Maybe not sure sure if is too much work or hassle and if you consider appropriate, in the second case to address the user intent to buy I’d go for maybe this line: “You can access available checkout pages here: (list of checkout pages with the membership plan name)”
I see, thanks for explaining. I have only left this question/dude: would it be good idea to replace the text “Your cart is currently empty. Click here to get started.” for a more descriptive one? Let me know what you think, I’m thinking for new users, for me it was like this looks like a bug, but it isn’t.
Oj I do think it shouldn’t be included a shortcode by default for the checkout if is not loading properly for free users, I will reopen the ticket awaiting for a reply in regards to this behavior. Anyways I don’t want to sound harsh, but is what makes me noise.
and we will provide you a code snippet to redirect to your default plan checkout if no plan ID is specified.
Also why using a redirection shouldn’t it load in the page itself?
Ohh ok I’m not a paid customer I’m just starting I’m afraid
When you create a plan, copy the checkout link and paste it in your browser address tab and hit enter.
Hi, yes that works, but unfortunately not the shortcode. Can I specify inside the shortcode the plan ID? Otherwise if theres only one active plan can the shortcode use that plan by default?
Also it seemed to work fine till: I deleted the initial membership plan and created another causing perhaps the
?plan=2
to be needed? in relation to the ID of membership passing to be “2” but I’m not sure if that’s the root cause that may be worth checking.Hi, well I don’t have WooCommerce in this site. Also even if a shortcode is specified in severla pages shoudn’t it work regardless and be displayed in several pages?
(deleted)
- This reply was modified 1 month ago by snippet24.
Hi thanks to youu!! I evaluated several approaches and in the end went for sharing cookies using WordPress Rest API (and thats the reason I don’t want to bother you with all the details / questions)
Bests
Thank you!! ??
Alright, thank you ??
Hi,
If I understood correctly with more than one automator there’s trouble? hence the array..
if(in_array(398, rua_get_user()->get_level_ids())) { ?>
Question: should I stick to the above code or should I wait till it works with
if(rua_get_user()->has_level(398)) { ?>
Hi, thanks to to you as well ??
Are you by any chance using automators in your levels?
yep these ones:
- [Synchronized Role] Include user for as long as they are Administrator
- Include user for as long as they are Logged-in
Can you see if this snippet works for you:
Yep it does work just fine ??
Thanks!! marking as closed ??
Thanks!! And localhost with local WAMP server would be ok for testing?