• Resolved webparaplan

    (@webparaplan)


    Hello! Can you explain, how I can set value of custom product fields via url in Product Page And/Or Cart pages?

    For field name “from_summ” I tryed something like /checkout/?add-to-cart=4232&attribute_pa_from_summ=1 / &attribute_from_summ=1 / &from_summ=1
    nothing not work

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ThemeHigh

    (@themehigh)

    You can pass the value as shown below:

    ?add-to-cart=8&field_name1=field_name1_value&field_name2=field_name2_value&thwepof_product_fields=field_name1,field_name2

    You need to pass each field with its value. Then add additional argument thwepof_product_fields whose value equal to the comma-separated field names.

    Thank you!

    Thread Starter webparaplan

    (@webparaplan)

    Thank You very much! You save my time!
    Pls add this example to documentation to help others!

    Plugin Author ThemeHigh

    (@themehigh)

    Great!

    We will definitely add this to our documentation.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to set attributes via url?’ is closed to new replies.