Groups Archives - Plugin Republic https://pluginrepublic.com/support-categories/groups/ WooCommerce Plugins Tue, 28 Mar 2023 11:39:57 +0000 en-US hourly 1 https://pluginrepublic.com/wp-content/uploads/2020/10/cropped-favicon-1-32x32.png Groups Archives - Plugin Republic https://pluginrepublic.com/support-categories/groups/ 32 32 Duplicating global groups https://pluginrepublic.com/documentation/duplicating-global-groups/ https://pluginrepublic.com/documentation/duplicating-global-groups/#respond Wed, 13 Jan 2021 11:38:38 +0000 https://pluginrepublic.com/?post_type=ht_kb&p=783611 By default, global groups are displayed on a single product page. To duplicate a global group is simple – just hover over the group and click ‘Copy’. However, you can choose to edit groups as custom post types. If you wish to duplicate a global group when you’re using this method, follow these steps: Edit […]

The post Duplicating global groups appeared first on Plugin Republic.

]]>
By default, global groups are displayed on a single product page. To duplicate a global group is simple – just hover over the group and click ‘Copy’.

However, you can choose to edit groups as custom post types. If you wish to duplicate a global group when you’re using this method, follow these steps:

  • Edit the group you wish to duplicate
  • Click the ‘Duplicate group’ link in the ‘Parent Products’ section

Your group will now be duplicated.

The post Duplicating global groups appeared first on Plugin Republic.

]]>
https://pluginrepublic.com/documentation/duplicating-global-groups/feed/ 0
Edit global groups as post types https://pluginrepublic.com/documentation/edit-global-groups-as-post-types/ https://pluginrepublic.com/documentation/edit-global-groups-as-post-types/#respond Mon, 09 Mar 2020 11:47:30 +0000 https://pluginrepublic.com/?post_type=ht_kb&p=286543 By default, global groups are displayed on a single page. However, you can opt to display and edit each global group in the same way that you would any other custom post type. To enable this, go to WooCommerce > Settings > Product Add-Ons and check the ‘Display groups as post type’ option. This is […]

The post Edit global groups as post types appeared first on Plugin Republic.

]]>
By default, global groups are displayed on a single page. However, you can opt to display and edit each global group in the same way that you would any other custom post type.

To enable this, go to WooCommerce > Settings > Product Add-Ons and check the ‘Display groups as post type’ option.

This is a solution to improve page speed and performance if you see an issue on the global add-ons page.

When changing this setting, it’s always worth taking a back-up of your site first – particularly if you have a large number of global groups and fields.

The post Edit global groups as post types appeared first on Plugin Republic.

]]>
https://pluginrepublic.com/documentation/edit-global-groups-as-post-types/feed/ 0
Display global groups according to attribute or taxonomy https://pluginrepublic.com/documentation/display-global-groups-according-to-attribute-or-taxonomy/ https://pluginrepublic.com/documentation/display-global-groups-according-to-attribute-or-taxonomy/#respond Wed, 04 Mar 2020 10:57:51 +0000 https://pluginrepublic.com/?post_type=ht_kb&p=279711 By default, global groups can be displayed depending on product category (as well as universally or by specific product). If you’d prefer to display global groups depending on product attribute or an alternative taxonomy, e.g. Brand, you can use the following snippet. Just enter the slug of the taxonomy you wish to use instead of […]

The post Display global groups according to attribute or taxonomy appeared first on Plugin Republic.

]]>
By default, global groups can be displayed depending on product category (as well as universally or by specific product).

If you’d prefer to display global groups depending on product attribute or an alternative taxonomy, e.g. Brand, you can use the following snippet.

Just enter the slug of the taxonomy you wish to use instead of product category. In this example, the plugin will allow you to choose specific Colour attributes:

View this code snippet on GitHub.

This is how to add the snippet.

The post Display global groups according to attribute or taxonomy appeared first on Plugin Republic.

]]>
https://pluginrepublic.com/documentation/display-global-groups-according-to-attribute-or-taxonomy/feed/ 0
Reorder groups https://pluginrepublic.com/documentation/reorder-groups/ https://pluginrepublic.com/documentation/reorder-groups/#respond Wed, 04 Mar 2020 09:52:26 +0000 https://pluginrepublic.com/?post_type=ht_kb&p=279672 By default, global groups get added after product groups. However, you might want to add your global groups first or even mix them up with the product groups. To do this, you’ll need to use this snippet. Replace the list of group IDs in line 14 with your own list of group IDs. These will […]

The post Reorder groups appeared first on Plugin Republic.

]]>
By default, global groups get added after product groups. However, you might want to add your global groups first or even mix them up with the product groups.

To do this, you’ll need to use this snippet. Replace the list of group IDs in line 14 with your own list of group IDs. These will be displayed above any other groups, whether they’re global or product-level.

View this code snippet on GitHub.

This is how to add a snippet to your site.

The post Reorder groups appeared first on Plugin Republic.

]]>
https://pluginrepublic.com/documentation/reorder-groups/feed/ 0
Duplicate groups and fields when duplicating products https://pluginrepublic.com/documentation/duplicate-groups-and-fields-when-duplicating-products/ https://pluginrepublic.com/documentation/duplicate-groups-and-fields-when-duplicating-products/#respond Tue, 19 Nov 2019 14:47:04 +0000 https://pluginrepublic.com/?post_type=ht_kb&p=165095 By default, when you duplicate a product, the new product will use the same group and fields as the original product. This can cause difficulties if you want to be able to edit the new product’s groups and fields without affecting the original product’s groups and fields. If you’d like to create duplicate groups and […]

The post Duplicate groups and fields when duplicating products appeared first on Plugin Republic.

]]>
By default, when you duplicate a product, the new product will use the same group and fields as the original product. This can cause difficulties if you want to be able to edit the new product’s groups and fields without affecting the original product’s groups and fields.

If you’d like to create duplicate groups and fields when you duplicate a product, which can be edited without affecting the original group and field, then just add the following snippet:

View this code snippet on GitHub.

The post Duplicate groups and fields when duplicating products appeared first on Plugin Republic.

]]>
https://pluginrepublic.com/documentation/duplicate-groups-and-fields-when-duplicating-products/feed/ 0
Group layouts https://pluginrepublic.com/documentation/group-layouts/ https://pluginrepublic.com/documentation/group-layouts/#respond Wed, 31 Jul 2019 08:25:46 +0000 https://pluginrepublic.com/?post_type=ht_kb&p=93844 You can choose to display each group in a different way. The available options are: To set the group’s layout, just adjust the ‘Group layout’ setting: Displaying groups In the Pro version of the plugin, you can choose how to display groups: Jut go to the Product Add-Ons section in the Product data section and […]

The post Group layouts appeared first on Plugin Republic.

]]>
You can choose to display each group in a different way. The available options are:

  • Standard – the fields are displayed in a standard list format
  • Table – the fields within the group are laid out in a table format
  • Two columns – the fields within the group are displayed in two columns
  • Three columns – the fields within the group are displayed in three columns

To set the group’s layout, just adjust the ‘Group layout’ setting:

Displaying groups

In the Pro version of the plugin, you can choose how to display groups:

  • Standard
  • Tabs
  • Accordion
  • Lightbox
  • Steps

Jut go to the Product Add-Ons section in the Product data section and choose the layout in the ‘Display groups as’ field.

Setting global group layout

Note that the above method works if you are adding groups directly to products. Any global groups that are also added to the product will follow the product’s group layout.

However, if you don’t have any groups added directly to a product because all your groups are global, please use this snippet to ensure your groups display as a tab or accordion:

View this code snippet on GitHub.

Here’s how to add a snippet.

Set accordion layout to closed

By default, the first accordion group is open and the others are closed.

You can change this so that all accordion groups start off as closed (or open) using the following snippet.

View this code snippet on GitHub.

Follow these steps to add a snippet to your site.

Close accordion sections when another is opened

If you want to automatically close an accordion section when the user opens another one, you can use this snippet:

View this code snippet on GitHub.

The post Group layouts appeared first on Plugin Republic.

]]>
https://pluginrepublic.com/documentation/group-layouts/feed/ 0
Global add-ons https://pluginrepublic.com/documentation/global-add-ons/ https://pluginrepublic.com/documentation/global-add-ons/#respond Thu, 14 Feb 2019 14:29:44 +0000 http://localhost/pluginrepublic/?post_type=ht_kb&p=39266 Global add-ons give you the ability to create groups of Product Add-Ons fields and apply them to multiple products in one go. You still create fields in exactly the same way so, if you haven’t already done so, please read this article on creating your first field. Creating global add-ons To create a new global […]

The post Global add-ons appeared first on Plugin Republic.

]]>
Global add-ons give you the ability to create groups of Product Add-Ons fields and apply them to multiple products in one go. You still create fields in exactly the same way so, if you haven’t already done so, please read this article on creating your first field.

Creating global add-ons

To create a new global group, go to Product Add-Ons > Global Add-Ons.

Click ‘Add New Global Group’ to create a new group of Product Add Ons fields.

Rules

You need to define a rule that will determine when to display the group of Product Add-Ons fields. You can select from the following options:

  • Display on all products
  • Display for a list of specified products
  • Display if the product belongs to a list of specified categories

Creating fields

You create groups and fields in exactly the same way that you do for individual products.

The post Global add-ons appeared first on Plugin Republic.

]]>
https://pluginrepublic.com/documentation/global-add-ons/feed/ 0