• Resolved whoaloic

    (@whoaloic)


    Hello Id like to autofill contact form with customer informations (Billing address). Any help would be really appreciated

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    I used this:

    <label>Product name
    [dynamictext product-name id:dyntext readonly “CF7_get_post_var key=’title'”]</label>

    <label>Product SKU
    [dynamictext product-sku id:dyntext readonly “CF7_get_post_var key=’_sku'”]</label>

    <label>Available in stock
    [dynamictext product-stock id:dyntext readonly “CF7_get_post_var key=’_stock'”]</label>

    I used to ID because I wanted to style those fields with CSS.

    In the Email tab, I used:

    Product name: [product-name]
    Product SKU: [product-sku]
    Available in stock: [product-stock]

    Plugin Author sevenspark

    (@sevenspark)

    Glad to hear you got it sorted, Bjornen! I do think you want to use different IDs on each field, as IDs should be unique (or use a class)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Autofill fields with WooCommerce values’ is closed to new replies.