Some extensions look differently when used in Shop Pay or in logged-customer account context. Is there a way to detect it, so we can style them appropriately?
Hey Patrick - I have not noticed this personally, can you provide some examples/ screenshots of these differences?
Hi Liam! Apologies, logged-in / logged-out looks the same. The diffrence is in Shop Pay. Here’s our pickup point extension:
Regular checkout:
Shop Pay checkout:
Do you have any solution on the originally stated question?
How to detect Shop Pay or logged-customer checkout flow?
@Liam-Shopify Actually I was wrong, the logged in / logged out also looks different but only when using saved addresses.
Hi Patrick,
At this time we don’t have plans to surface to extensions wether they are in normal web checkout or Shop Pay. For logged-in flows, you do have access to the Buyer Identity api where customer is undefined when not logged-in.
For the background issue itself, have you tried setting the background property to base
? It looks like it might be using the default value of transparent
?