Add a share button to the product page
Use the [chamevo_share] shortcode to place a share button on the product page so customers can generate a link to their customized design and share it with others.
The [chamevo_share] shortcode adds a share button to the product page. When a customer clicks it, Chamevo generates a unique URL for their current customized design. The customer can copy the link, share it on social networks, or send it directly β and anyone who opens the link sees the same customized design pre-loaded in the customizer.
Before you start
- Sharing must be enabled in Chamevo settings. Go to Chamevo β Settings and turn on the sharing feature. Without this setting, the share button renders but generates no URL when clicked.
- Sharing works on Chamevo-enabled product pages. The shortcode can be placed on any page, but the share URL is only generated when the product customizer is active and a product is loaded.
- To show social network share buttons after the link is generated, configure the social networks in Chamevo β Settings under the sharing options.
Add the shortcode
The shortcode takes no attributes:
[chamevo_share]
On a WooCommerce product page
For WooCommerce products, paste the shortcode in the Product short description field to place the share button in the product summary:
- Open the product in WooCommerce β Products β Edit product.
- Paste
[chamevo_share]in the Product short description field. - Update the product.
The share button renders in the short description area alongside the other product information.
On a standalone page with [chamevo]
For pages using the [chamevo] shortcode, place the share button wherever you want it to appear:
[chamevo]
[chamevo_share]
[chamevo_form]
Using page builders
For precise placement in a page builder layout, use the Elementor widget or paste the shortcode in a text/HTML widget. See the Elementor equivalent section below.