ThemeHigh
  • Plugins
  • Documentation
  • Support
  • Partners
  • Login
  • Getting Started
    • Overview...
    • Add/Edit Custom Sections
    • Add/Edit Custom Fields
    • Add Display Styles
    • Set Tooltip Details
    • Price Fields & Types
    • Set Display Rules for Fields & Sections
    • How to Export/Import Fields & Sections Individually
  • Advanced Settings
    • Add Price Table
    • How to modify add to cart button text?
    • Add a Custom Validation Rule
    • Add a Confirm Field Validator
    • Choose a Layout Style
    • Disable "Enhanced Select(Select 2)" for select fields
    • How to post extra options as URL Parameters?
    • Use the Div tag for displaying fields
    • Backup & Import Settings
    • WPML String Translations...
  • FAQ
    • Frequently Asked Questions...
  • Compatible Plugin & Themes
    • Plugins & Themes...
  • For Developers
    • Hooks & References...

Documentation/Extra Product Option for WooCommerce/How to post extra options as URL parameters?

How to post extra options as URL parameters?

Last updated on September 4, 2023

In general, WooCommerce lets you add products to your cart through URLs. Once the Allow posting extra options as url parameters option is selected, you can add the custom fields created using the plugin to your cart directly through the URL.

extra_option_as_url.png

For example:

https://yourwebsite.com/?add-to-cart=407&tshirtcolour=White&printtshirt=joe&thwepo_product_fields=tshirtcolour,printtshirt

Here, what we have done is, to the URL we have added the product Id (407), then added the custom fields and their value (&tshirtcolour=White&printtshirt=joe), which was created using the Extra Product Option for the WooCommerce plugin.

WooCommerce has a feature that allows you to add products to your cart via URLs. By enabling Allow posting extra options as url parameters option, add the custom fields that is created through the extra product option to your cart directly through the url.

Quick Links

  • Try Demo
  • How to Download and Install Our Plugin ?
  • Manage License
  • Join our Facebook Community

This article posted in Advanced Settings, Extra Product Option for WooCommerce, Pro Documentation

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

ThemeHigh

We develop innovative WordPress plugins and themes for e-commerce and other WordPress websites.

Resources
  • Documentation
  • Support
  • Blog
  • Bestsellers
  • Affiliates
  • Partners
Policy Information
  • Terms & Conditions
  • Privacy Policy
  • Support Policy
  • Refunds Policy
  • Licenses
Security
Payment Options

© 2025 ThemeHigh. All rights reserved.

Terms and conditions, features, support, pricing, and service options subject to change without notice.