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

thysquarespace

Member
  • Content Count

    8
  • Joined

  • Last visited

  1. You won't be able to programmatically change the actual price because it is fixed @Paul2009 Ok, got it. But this https://www.myflexframe.com/shop/flexframe-dr285 is a variable product. So I am already getting user input (enter 7,7 for width, height) > calculating nearest variant > updating the variant in product dropdown (updates 9,9 for width, height dropdown) based on that. What is not working is after the values change on dropdown, the price is not changing. But if I change the values on dropdown manually the price changes. You can check the same on the above link. So all I need to do is to trigger the price change [call the function?] but unable to do so.
  2. @Paul2009 Yes the questions are related, I created this question to give clearer details on my requirement. Here is working link https://www.myflexframe.com/shop/flexframe-dr285 Please enter values in the width, height inputs. You can see the price text[without $ sign] below the product price, updates which is calculated price from my script. Also the variant dropdown values change, but the [actual]price is not updating. When you click Add to Cart it shows alert to select height, width which are already changed through script.
  3. @Paul2009 Yes the questions are related, I created this question to give clearer details on my requirement. Here is working link https://www.myflexframe.com/shop/flexframe-dr285 Please enter values in the width, height inputs. You can see the price text[without $ sign] below the product price, updates which is calculated price from my script. Also the variant dropdown values change, but the [actual]price is not updating. When you click Add to Cart it shows alert to select height, width which are already changed through script.
  4. @Paul2009 can you please share your thoughts on this? Thanks in advance.
  5. @Paul2009 can you please share your thoughts on this? Thanks in advance.
  6. I am able to change the options on product variant drop downs using javascript. But the price is not changing according to the selected options. Any help is appreciated. Thanks.
  7. Thank you @AmariC05 But the issues with using form is, it cannot update the price based on what the user inputs. This is more like a customisable product, so need to change the product price according to what user inputs.
  8. Hi,I manage a Squarespace shop selling picture frames. I want to add an option for the customer to add custom width, height, and thickness through text input fields. These are not ready-made so product variants cannot be used. I tried to add the fields via javascript but the problem is I don't know how to update product prices based on input and store the values for processing orders. So would like to know is it possible to do and if so some help is appreciated. Thank you in advance.
×
×
  • Create New...