So I have the following code:
As you can see I have added $dates as an array which could range from 2-X options, which will depend on the product ID.
As an example, I have included the options manually, i.e.
How would I go about looping this and including it within the
It works fine as it is, but it’s not dynamic.
Any help is much appreciated!