Jump to content

JabberDesigns

Circle Member
  • Posts

    17
  • Joined

  • Last visited

Everything posted by JabberDesigns

  1. Hey @paul2009, Thanks for your response! Could you possibly give me a quick coding example of this? I'm inexperienced with Squarespace's API, and all I can seem to find about it is telling me to register for the Squarespace Developer OAuth in order to make API calls. (I'm sure there must be a simpler way?) I currently have this code that I feel should do the trick, I'm just not sure on the formatting/API details to make it work properly atm. <!-- Show/Hide CTA button --> <script> (function () { const url = 'https://api.squarespace.com/v1/profiles'; const headers = { 'Authorization': 'Bearer MY-API-KEY', 'Content-Type': 'application/json' }; // Get user authentication status from Squarespace API fetch(url, { headers }) fetch(url, { credentials: 'include' }) .then(response => { if (response.status === 200) { // If the user is authenticated, hide the CTA button document.getElementById("yui_3_17_2_1_1702054210072_484").style.display = "none"; } else { // If the user is unauthenticated, show the CTA button document.getElementById("yui_3_17_2_1_1702054210072_484").style.display = "block"; } }) .catch(error => { console.error("Error:", error); }); })(); </script>
  2. Hi guys, I'm trying to figure out not only if it's possible to check if a user is logged in or not, but then hide my CTA button if a user is detected as logged in. Does anyone have any idea if this is possible/how to do it? Ideally the base state would be the CTA being visible to unauthenticated users, then once a user is logged in, the css of the CTA button would be modified to display:none; and vice versa. The CTA is a 'Get Started' button that links to my own account signup page for a Member's Area account and I'd like it to only display for new/logged out users if possible.
  3. Hi @paul2009 thanks again for your response. So I'm a little bit stuck on how to achieve what I want to create with the current system. Do you think there will be any support for tiered subscriptions/memberships and/or a way to display relevant account information on personal pages anytime soon? Or do you think it's worth switching the e-commerce/member section of my site to another platform for the time being to achieve my desired result? I absolutely love everything about Squarespace and would like to have my whole website within the ecosystem but in order to achieve the result I want, I'd probably have to wait for these features to be implemented. Many thanks for giving me great responses, you've been very helpful :) James
  4. Thanks for the response! Do you know of any possible workarounds for this? Maybe a Zapier/integrately integration? Otherwise it appears I may have to switch to memberspace to remedy this for the time being until it's a feature added by squarespace?
  5. Site URL: https://www.jabberdesigns.com Hi guys, My website is currently under construction and I have member areas at different price points with different benefits for subscribers to my website. I've done a lot of looking around for ideas on how to make my members area dashboard more 'dashboard-y'. I can't really find a solution for it anywhere that would allow me to make something along the lines of what I'm going for. https://www.jabberdesigns.com/members/dashboard login credentials for test account: test@usertest.com pass: 1234567890 Ideally, I'd like to display each member's personal order information, invoices, status, etc. Whatever sort of data I am able to integrate into my dashboards to give a more 'personal touch'. If this isn't possible, is it still at least possible to have a section that links to a 3rd party provider that would allow me to display this information to individual members? Basically, I'd like to add a more 'personal' touch to each of the available tiered dashboards that essentially pulls information from the squarespace account panel and displays it in my members area dashboards. Or if that is a feature not currently available/implemented, are there any/other 3rd party options available that would allow me to do this? Many thanks!
  6. Anyone have any ideas for this? I've googled and googled and can't find anything to help me remedy this problem, even though it seems quite an obvious request for something like subscription tiered member areas?
  7. Site URL: https://www.jabberdesigns.com Hi there, I was just wondering if it's possible to automatically cancel lower-tier subscriptions to member areas automatically once a higher payment tier is selected. For example, I have a free basic account, then 3 monthly subscription member areas at different price points that give more advantages, discounts, content etc. However, currently, it seems that whenever a member upgrades their account to one of the higher tier options, they maintain their subscription to the lower tier member area unless they cancel it themselves. Ideally, the way members areas works on squarespace, i'd like to have everyone retain their free basic account priveleges, whilst having the bonus content from the tiered subscriptions, so for example, someone would upgrade from a basic account to a tier 2 account and retain both, however if they had both a basic account & a tier 1 account already, upgrading to a tier 2 account would cancel their tier 1 subscription automatically. Hopefully this makes sense? If you'd like me to elaborate further I can, or try to show you an example? Thanks for any help or discussion you can provide!
  8. Hi there @tuanphan Sorry to revive a dead thread, but would it be possible to change the attribute data in the art section using javascript to change the black gradient colour to white when a toggle is switched to light mode? many thanks
  9. Site URL: https://www.jabberdesigns.com/home Page password: s3cr3t Hi there, I'm trying to incorporate a light/dark mode button into my website but I've hit a stumbling block when trying to modify the CSS of the Art backgrounds. My art backgrounds are purple + black themed, so I'd like to switch that to a white + purple theme when the light mode is enabled either by 'preferred-mode' media queries or when switched. Could anyone help me figure out how to modify the Art Background colour palette's CSS to achieve this? Thanks a lot for any input
  10. Site URL: https://www.jabberdesigns.com Hi guys, I'm currently building my business website and I was wondering if anyone was able to help me figure out the solution to an implementation problem I'm having. In the simplest terms, I'm trying to create printed products (such as t-shirts, hoodies etc) that I would like to add my client's custom branding and designs (That I have created for them) to these products and be able to purchase them for themselves. Currently, I'm using Printful and a work-around I was considering was to just create individual products with the clients' branding/design on myself, however, I'd have to do this for every single merchandise item that I'm trying to sell. Ideally, I'd love to be able to either have a widget in my member's area dashboard that allowed clients to customise merchandise that I offer, with their brand logo/designs. (e.g they could pick a product such as a 'Champion Tie-Dye Hoodie' that I've chosen to add to my store, that they can customise with their branding in their own widget on my site. I'm looking to make this process as streamlined as possible so wanted to know if there were any 'ready made' solutions to this problem or if I was going to have to use something like Printful's API and then update the products available myself every time a client wanted to purchase merchandise from my website. Thanks a lot for any help!
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.