I want to have a default variation option selected without having to go through every Product in woocommerce

As in title i want to have a default variation option selected without having to go through every Product in WooCommerce.

The file is /woocommerce/single-product/add-to-cart/[url removed, login to view]

and function is probably:


$selected = isset( $_REQUEST[ 'attribute_' . sanitize_title( $attribute_name ) ] ) ? wc_clean( $_REQUEST[ 'attribute_' . sanitize_title( $attribute_name ) ] ) : $product->[url removed, login to view] $attribute_name );

wc_dropdown_variation_attribute_options( array( 'options' => $options, 'attribute' => $attribute_name, 'product' => $product, 'selected' => $selected ) );


I would like to be able to modify it so that all my products have the first selected variable Thank you

Skills: eCommerce, Shopping Carts, WooCommerce

See more: Scrivere alcuni Software, scrivere alcuni articoli, html setting selected option dropdown menu php, crm picklist selected option javascript, count selected option select javascript, add cart option product listing oscommerce, mscrm javascript selected option picklist, jquery selected option count, mysql setting selected option dropdown menu, add image product oscommerce upload option, product option add cart view details oscommerce, product option add cart oscommerce details, javascript textbox appears selected option, zend form selected option, oscommerce product attributes selected, oscommerce default selected option, drupal views exposed filters selected option, seller pro software vista compatible, flight reservation software project, sample good software instructions, customer software needed, software development selling clothes, digital signage software company website template, software needed, rfid tags software developers

About the Employer:
( 6 reviews ) Venezia, Italy

Project ID: #14582398

9 freelancers are bidding on average €28 for this job


Dear Sir. I had read your descriptions about project. Kindly give me a chance, i would like to discuss more about project and sure everything clear. I am a developer very strong in below skills. + Core: Php, Ruby, J More

€54 EUR in 1 day
(45 Reviews)

Hi we are expertise in wordpress and wocommerce and can complete your task i 1 day so please consider us once. Thanks Rahul

€34 EUR in 2 days
(19 Reviews)

Hi, I understand your requirement. I can implement it for you. Please contact me so we can discuss more. Regards, Tan.

€25 EUR in 1 day
(8 Reviews)

Hi there! Did go through your Job Description and glad to share that I have experience in working with wordpress platform. I have more than four years of industry experience and have been the part of diverse industr More

€23 EUR in 1 day
(7 Reviews)
€23 EUR in 1 day
(2 Reviews)
€23 EUR in 1 day
(0 Reviews)

Hello i am ready for this job let me know more about this so we can go ahead and can do work togather thanks and regards rahul

€23 EUR in 1 day
(0 Reviews)

We have many Years of Experience in PHP, HTML, CSS, MySQL, Wordpress, Apache Server, ASP.Net ( C# and Vb.Net ) Android & IOS etc. We have a team for fixing errors and bugs. I always think outside the box to provide More

€23 EUR in 1 day
(0 Reviews)

Hello, I found your job post and I’m very interested in your project. As an experienced WooCommerce, I think I am who you’re looking for. Thank you for your consideration, An Tran

€20 EUR in 1 day
(0 Reviews)