• Skip to primary navigation
  • Skip to main content
  • Skip to footer
Essential Premium WooCommerce Plugins - WP Desk
  • Plugins
  • Bundle
  • Support
  • Blog
  • My Account
  • 0

Stay updated on our how-to articles

WP Desk news, WooCommerce tips, promo codes - right to your inbox.

By entering your e-mail, you agree to our Terms & Conditions and Privacy Policy.

Tomasz Drzewiecki

How to get WooCommerce product URL with any attribute & custom fields

Updated: February 22, 2023 / Plugin Tutorials

Flexible Product Fields extends WooCommerce product options with additional custom fields. Thanks to the plugin you may customize WooCommerce products to your needs. With FPF, as a store manager, you may also get the WooCommerce product URL to see any available attribute or product custom fields.

Sometimes, your customers ask about or would like to see the specific product configuration right away!

By default, WooCommerce won't give you this option. But, now you can use a WooCommerce plugin to get and save the exact product URL with product attributes and custom fields. Let's see how to do that!

Table of contents

  • The standard URL of a WooCommerce product
  • Get WooCommerce product URL with attributes
  • Get the URL - Case study
  • How to use the product URL - Possible applications
  • Summary & more about the plugin

The standard URL of a WooCommerce product

๐Ÿ‘‰๐Ÿผ The default WooCommerce product URL gives you no indication of its attributes.

You get them only as additional information on the product page:

WooCommerce product attribute url
Additional information on the product page

๐Ÿ‘‰๐Ÿผ If you use variable products, you let customers choose the variation from the attributes.

WooCommerce product variations
WooCommerce product variations

โ€Š๐Ÿ”— But, still, you can't get the product URL with a predefined configuration.

That's because a WooCommerce variable product does not have a separate URL for each variant. Of course, this may not be a problem for all stores and the simple URL may suffice.

Get WooCommerce product URL with attributes

โœ…โ€Š You may want to send a customer a specific product configuration so that he can see the exact product!

Have a look at this example, where I show you that obtaining a direct URL to a specific product with its previous setup is possible.

1๏ธโƒฃโ€ŠI indicate what features I want the shirt to have. Then I save the product configuration:

WooCommerce product url
Example of setting product features

2๏ธโƒฃโ€Š My product configurations are saved in the URL. Now I'm going to show you that I can reproduce it in my browser and get the exact product configuration from the URL:

Get product url WooCommerce
Opening an URL with product configuration

I will use the Flexible Product Fields plugin to add custom fields and an option to get the WooCommerce product URL.

Flexible Product Fields PRO WooCommerce £59

Get product URL WooCommerce with this plugin. That's easy! Additionally, this plugin lets you add 18 extra product fields, conditional logic, and pricing.

Add to cart or View Details
WP Desk
10,000+ Active Installations
Last Updated: 2023-03-15
Works with WooCommerce 7.1 - 7.5.x

๐Ÿ‘€This is a short feature overview of this plugin:

๐Ÿ’ก The plugin is not based on variants but on groups with custom fields. Each such field (and the associated option) is a product parameter. So you may customize the product page with more options, features, and attributes.

๐Ÿ‘‰๐Ÿผโ€Š What's more, as a store owner, you may use an additional "Save product config" button on the product page (just above the "Add to cart" button).

The button will save the current configuration of the selected product as an URL. The address with parameters will appear after reloading the page.

 

Get product url WooCommerce
WooCommerce product config save feature in the Flexible Product Fields plugin

That will let you get the WooCommerce product URL with any attribute (custom fields) added by the plugin.

Get the URL - Case study

The idea for a new function appeared thanks to our client. His shop was offering paragliding flights and he was keen to create a pricing table with available packages and links to them. But each package was not a separate product.

The offered packages were one product - but with other Flexible Product Fields options selected after loading the product subpage. So a mechanism was needed to translate the configured product into a URL.

๐Ÿ’กโ€Š Idea assumptions

  • feature available only to the store admin
  • a mechanism covering all fields available to the shop customer
  • simple URL extraction

The result is the WooCommerce product config save feature mentioned at the beginning (get the URL with one click).

How to use the product URL - Possible applications

๐Ÿ‘‰๐Ÿผโ€Š Of course, there are no restrictions on the use of information in the form of a link. So, it is much easier for the customer to configure a complex product based on a predefined URL configuration.

Also, it will be simple to personalize the product for a specific customer.

โœ…โ€Š From now on it is possible to link to the finished product:

  • on other subpages of the store (e.g. in the menu or the price table)
  • in social media in emails and mailings
  • in emails and mailings
  • using AdWords campaigns
  • using a banner (or another graphic element) on the site
  • when communicating with a client in a chat or other support tool
  • and other cases

Summary & more about the plugin

Today, you've learned how to get the WooCommerce product URL with any attribute and custom fields added with the plugin. Use the extension to customize your WooCommerce products. Find out more on the plugin product page!

Flexible Product Fields PRO WooCommerce £59

Get product URL WooCommerce with this plugin. That's easy! Additionally, this plugin lets you add 18 extra product fields, conditional logic, and pricing.

Add to cart or View Details
WP Desk
10,000+ Active Installations
Last Updated: 2023-03-15
Works with WooCommerce 7.1 - 7.5.x
The free version of the plugin lets you customize the WooCommerce products. But it'll not give you the option to get the URL of the product.

Related to the WooCommerce product URL

  • WooCommerce color swatches

    WooCommerce color swatches
    WooCommerce color swatches. Find out how to add WooCommerce color swatches with Flexible Product Fields.

  • Add product wrapping with FPF

    WooCommerce gift wrapping option
    Add a gift-wrapping checkbox. Find out how to add a gift-wrapping option to your product page.

Tweet

3 minutes read2185 views

Tomasz Drzewiecki

From 2020 in WP Desk. First as a Happiness Engineer in the Rangers team. Now as a QA Engineer in the Sailors team.

Powered by WP Desk

WP Desk brings you great WooCommerce plugins. We strive to save your time and money by speeding up your processes. Use our plugins to build a better store. Awesome support included in the package.

Premium WooCommerce Plugins โ†’

Stay updated on our how-to articles

WP Desk news, WooCommerce tips, promo codes - right to your inbox.

By entering your e-mail, you agree to our Terms & Conditions and Privacy Policy.

WP Desk โ€บ Plugin Tutorials โ€บ How to get WooCommerce product URL with any attribute & custom fields

Footer

WP Desk - WooCommerce Plugins

At WP Desk we create great WooCommerce plugins with awesome support. Save time and money with our e-commerce solutions. See how we can help you improve your e-store →

Secured by Comodo

WP Desk

  • About us
  • Giving Back
  • Blog
  • Contact us

Products

  • Premium Plugins
  • Get Support
  • WooCommerce Invoices
  • Email Marketing
  • Octolize

Legal

  • Terms & Conditions
  • Refund Policy
  • Support Policy
  • Privacy Policy

© 2023 WP Desk