Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Search the Community

Showing results for tags 'variables'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Forum
    • News and Announcements
    • Getting Started With Squarespace
    • Coding and Customization
    • Commerce
    • Feedback on Your Site
    • Images and Videos
    • Pages and Content
    • SEO and Marketing
    • Site Design and Styles
  • Colorado Designers's Topics
  • Squarespace Forum Club Guidelines's Topics
  • Austin, TX Designers's Club Discussion
  • New York City Designers's Club Discussion
  • Berlin Designers's Club Discussion
  • SEO Experts's Club Discussion
  • Photographers's Club Discussion
  • Graphic Designers's Topics
  • London Designers's Topics
  • Podcasters's Club Discussion
  • Custom Coding Help's Club Discussion
  • Atlanta, GA Designers's Topics
  • Seattle, WA Designers's Topics
  • San Diego, CA Designers's Topics
  • Dallas, TX Designers's Topics
  • Australia Designers's Club Discussion
  • Minnesota Designers's Topics
  • Minnesota Designers's Topics
  • Copywriters's Topics
  • France Designers šŸ‡«šŸ‡·'s Topics
  • France Designers šŸ‡«šŸ‡·'s Topics
  • Portland, OR Designers's Topics
  • Canadian Website Designers's Club Discussion
  • Los Angeles Designers & Devs's Club Discussion
  • South African Designers's Club Discussion
  • Brazil Designers's Club Discussion
  • Developers's Club Discussion

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Website


Location


Badges

Found 3 results

  1. I am having trouble with a project for a client. She is selling clothing sets. She wants the customer to be able to select what size top they would like, and then which type of bottom, and then which size of bottom. I am having trouble accomplishing this because the variables are all connected together and so Iā€™m having to add a ton of potential combinations. Is there a way to add multiple drop down variables but have them not be connected?
  2. I am trying to setup integration with an affiliate program. I'm sending an XHR to the affiliate on order confirmation (using the code-injection tool), but I can't figure out what the SquareSpace variable is to get the discount code. I need to include this in the JSON I'm sending. Does anyone know what that variable is called? What I have already is below. I've tested it with hardcoded data to confirm that it does work correctly, but I need to know what that "coupon" variable is on the SquareSpace side. <script type="text/javascript"> let request = new XMLHttpRequest; request.open("POST", "AFFILIATE_LINK"); request.setRequestHeader('Api-Key', 'APIKEY'); request.setRequestHeader('Content-Type', 'application/json'); request.send(JSON.stringify({ "coupon": promoCodeThatINeedFromSquareSpace, "amount": {orderSubtotal}, "customer_id": {customerEmailAddress}, "external_id": {orderID} })); </script> Thanks in advance for any help!
  3. I am attempting to set up an affiliate program for my site. I am using the program Post Affiliate Pro, and in setting up the tracking of purchases, Post Affiliate Pro has given me a code to inject into the order confirmation page which will send them info if a customer used a coupon code given by a certain affiliate. However, in the instructions they gave me, they said I would need to edit the code and replace ('Coupon_Code') with whatever squarespace uses as a variable for its coupons Here is the code they said to modify and inject: sale.setCoupon('Coupon_Code');
Ɨ
Ɨ
  • Create New...