#michaelglennwilliams_code

1 messages ยท Page 1 of 1 (latest)

olive viperBOT
#

๐Ÿ‘‹ 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.

honest bough
#

Hi there, sorry for the delay

icy lodge
#

Hi no delay at all, thanks for being here

honest bough
#

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?

icy lodge
#

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

honest bough
#

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

icy lodge
#

You mean, they are not hidden?

honest bough
#

correct, they are not hidden

icy lodge
#

How does the checkout determine when to use the "hidden" details

honest bough
#

The width of the browser

icy lodge
#

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

honest bough
#

Try making your desktop window smaller; you should see the same thing you see in mobile

icy lodge
#

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

honest bough
#

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"?

icy lodge
#

When I tap "Add a code"

#

Then the details are visible

honest bough
#

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

icy lodge
#

Is the checkout page in an iframe?

honest bough
#

No

icy lodge
#

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?

honest bough
#

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 ๐Ÿ™‚

olive viperBOT
icy lodge
#

Is there a "dark mode" for the checkout pages?

#

@honest bough @onyx salmon