Here is the Foxy Cart code I am using to add a product to the cart. The code, below, works just fine:
(Edit": I can’t get the code I psated to show up on the forum so please visit my site for an example of the issue).
</form
Here’s my issue. I want to be able to use CMS fields to dynamically fill in the options values. For example, the first option values above would be “60 Count {p:49.95|c:147-R}” and “60 Count bottle”. The problem I am running into is each product has several different size and flavors. For example, the product above has 3 select menu options however I have other products that will have up to 10 select menu items. If I put in 10 CMS select fields then all the blank lines will show in the select menu, making the select menu long.
My other issue is the Select menu is blank when using the dynamic data. I would greatly appreciate someones help!
Can you populate a select menu inside of a form with dynamic data from a CMS collection? I don’t think you can and this is a major limitation. Any ideas?
@Bghead8che Nice to meet you! We actually have a script that will take a single line text field in Webflow’s CMS, populated with a comma separated list of options (including product option modifiers) and turn it into select dropdown. I just messaged you instructions. Let us know if we can help with anything.