Im developing a site, but ive come into a problem im unable to solve :(
if a product has a variation, it can be added to the cart with no variation selected. There doesn't seem to be any validation to check to see if a variable is selected.
With the research ive done, ive found out that the validation is baked into wp e-commerce but for some reason its not being called when i add to cart.
Here is my wpsc-single_product.php files http://pastebin.com/U2fE7QFg
After more research, i found the default single product file for wp e-commerce, uploaded that to my server and the variation validation worked like it should do. (default file: http://pastebin.com/vSXiViUT )
I've looked through both files line by line and nothing obvious stands out to be as being different. The main differences are with layout and styling and 1 piece of custom functionality that i added to handle price on request.
I would be very grateful if someone could have a look at the files i link to, and let me know where im going wrong. or if anyone knows what the requirements are for the validation to run is.
Thanks in advance
WordPress Version - 3.3.1
Breadcrumb NavXT - 4.0.2
BWP Google XML Sitemaps - 1.2.0
Comment Link Manager - 1.1
FancyBox for WordPress -3.0.1
Fast Secure Contact Form - 22.214.171.124
Newsletter - 126.96.36.199
Relevanssi - 2.9.14 [Currently Deactivated]
Storefront Insights - 1.1
W3 Total Cache - 0.9.2.4
WordPress SEO - 1.1.5 [Currently Deactivated]
WP-PageNavi - 2.82
WP e-Commerce - 188.8.131.52.2
WP E-Commerce Weight & Destination Shipping Modules - 4.4