How to select default 1 variation of product?

check this product: https://chothanijayesh.wixsite.com/mysite-5/product-page/test
As I created the product with base price 0. it’s showing “Contact us to purchase” button instead of add to cart.
How can I select 1 default variation option for each product?
Does anyone have a solution on how to fix it?

@givemeawhisky

Hi there,

It’s not possible to set preselected product variants with the native functionality of the Wix stores app, however, you can create your own product pages from scratch with a bit of code and using the stores app collections to display your products.

I recommend reviewing these articles to use a starting point:

We also have a few examples that may help give you a better idea:

Please kindly note this forum is specifically for sharing coded related issues and solutions regarding Corvid. If you already have code feel free to post your code here so others can assist or see your solution.

For future reference, if you have questions regarding Wix apps in general or any technical issues it would be best to contact our customer care team.

Best regards,

I am also looking for exactly this. I have tried for a long time to get this to work and it is insanely complex because of all the integration with the search feature, related products, etc. For such a fundamental and basic feature available in every major ecommerce platform I can’t believe it’s not native and it’s this hard to implement.

I am hoping this is soon a built in feature.

1 Like

The ONLY way is to build your custom product page…

My workaround for this problem was to include a “ribbon” that says “Options & Price”. The user then knows when he sees $0.00 to click the item. The variant can then be selected in on the Product page.

I totally agree with SirAce. This function should be standard. If it isn’t, add-ons should be available so the customer can select only what they want to add.

1 Like

@certified-code I went through the process of building my own custom product page using Velo. I use the Wix Store database and augment with my own custom database. The whole process was difficult and time consuming for me because I had never built a website before, let alone programmed with JavaScript until now. In the end, the custom page works great thanks to help from people on this forum and Wix’s great documentation.

2 Likes

@jimyaccino Thanks for sharing your success story, it gives me hope.
Is there any chance you can share more specifics on how you managed this or perhaps share an export of the code generated to use as a starting point?

Thank you

@prami Well, I am not really sure what you are asking. This is not really the place to have this discussion and I don’t know if there is anywhere on this forum to do so. I wish there were because there are may folks over this 9 months who helped me that I would have loved a broader conversation.

As a general statement I could say that my website required 1000’s of lines of JavaScript front end and back end code which is custom designed for my particular web page design. So my code won’t help you or anyone else. However, there are many great Wix Velo programmers out there who can build custom pages for you in a lot less time it took me. Indeed I am certain they could have built mine far less time.

From my experience, I recommend that you need to know is exactly what you want the custom page to do, and have a design concept. From there you just roll up your sleeves and get busy. Also you should plan for may long hours and success will emerge from the ashes of failures.