Worpdress php code snippet to insert Woocommerce PRoduct SKU into a form

Terminé Publié le il y a 3 ans Paiement à la livraison
Terminé Paiement à la livraison

[login to view URL]~firetaildaq/product/usb-602/ (simple product)

[login to view URL]~firetaildaq/product/wifi-501/ (variable product)

These are example [login to view URL] the bottom of the page is an enquiry form. It uses Fluent Forms which provides an Action Hook for that form that looks like this:

add_action('YOUR_CUSTOM_HOOK_NAME', 'YOUR_CUSTOM_HOOK_NAME_callback', 10, 1 );

function YOUR_CUSTOM_HOOK_NAME_callback( $form) {

// do what ever you want

}

I would like a field that is prefilled with the Product SKU. It must work whether the product is a simple or variable product.

You can add the field dynamically, or create the field in the form builder and add the SKU dynamically to the field. I don't mind, whichever is simplest.

PHP WordPress HTML

Nº du projet : #27436414

À propos du projet

6 propositions Projet à distance Actif il y a 3 ans

Décerné à:

starttechno

Hi sir, do u want to add filed of which work dynamiclly ? Please let us know if u are interested in our bid. With help of jquery I can add sku in field which will create by plugin ...

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% AUD en 1 jour
(33 Commentaires)
5.2

6 freelances font une offre moyenne de 163 $ pour ce travail

submitbuzzz

Hi there, I have checked your given product page links and project description, I can do your Worpdress php code snippet to insert Woocommerce PRoduct SKU into a form task. I have more then 9 years experience in wordp Plus

$150 AUD en 2 jours
(214 Commentaires)
7.3
hoisticdeveloper

Hi there, I have read your project requirements that you need to put a custom code to fill automatically the sku field in your form. I am glad to have a chat with you about further details of your project. Please come Plus

$200 AUD en 7 jours
(38 Commentaires)
6.6
tdteam

Hello, I'm wordpress expert, I have more than 10 years experience in html, css, jquery, php, wordpress, joomla.... I created and customized many wp themes, plugins,.... I did many custom type of woocoomerce and forms! Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% AUD en 1 jour
(166 Commentaires)
6.5
camisua

Hello,Dylan How are you? I have checked the description, and I am very interested in your project I am very familiar with Wordpress actions and hooks as well as AJAX, MySQL, CSS Please message me so that we can d Plus

$140 AUD en 3 jours
(16 Commentaires)
4.9
merinsinha

Hi i am an certified php Expert. For Professional works -Hire me. As 10+ years experiences in these field. I can give good quality work. I have read the guidelines of your work.I believe that i can provide you the best Plus

$250 AUD en 5 jours
(25 Commentaires)
3.6