#michaelglennwilliams_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1283202444666474586
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- michael_checkout-connect, 5 days ago, 80 messages
Hi there, sorry for the delay
Hi no delay at all, thanks for being here
Ah, I thought there was a default property on line_items.adjustable_quantity but there isn't
Have you considered having some form prior to the Checkout Session that has them choose, and then using these choices to create a Session with the line items and quantity they selected on your form instead?
Yes, as a last resort. Here is the current UI
Behind the VIP Fan Club we wanted the checkout with the two options.
And, there are those options, it's just they are "hidden" behind the Details pulledown
There isn't really a nice way to show the price and description for each fan club priceid given this UI
Ah, yeah, I see what you mean
I think you'll have to go with the last resort option for clarity
Line items require a quantity, even if you're using adjustable quantities
Checkout can be used on mobile devices but it's not really optimized for such a small screen
If you view the same Checkout Session URL on a desktop browser, you'll see the adjustable quantities and item breakdown are much clearer
You mean, they are not hidden?
correct, they are not hidden
How does the checkout determine when to use the "hidden" details
The width of the browser
Is the form still responsive on the dektop?
Here is what I see on the desktop
and in the app:
I notice that if I tap Add Code, it also opens the details
Try making your desktop window smaller; you should see the same thing you see in mobile
Yes the breakpoint is 990
width
err 991 which is a strange number
Is there a way I can have the checkout page open to receive a code from the initial presentation?
Also, I tried setting one of the quantities to 0 but it won't allow that
Right, quantity has to be a minimum of 1 when creating the Session
What do you mean exactly by "receive a code from the initial presentation"?
Ah, so you're wondering if you can automatically put focus on the promo code field when the Session URL first loads
No, this isn't possible
Is the checkout page in an iframe?
No
ok, I think I can make it work then if I switch to using a webview
Let me give that a try and get back to you?
Sounds good! We don't keep long running threads here so if it'll be a while before you test, I'll likely close this thread before you get back
If the thread is closed, feel free to return to #help and I or a teammate can pick up where we left off
Just be sure to come back with any new, clear questions ๐