Login

Omnichannel

Security and Compliance

Editing Cards in the Products Block

The Products block displays recommended offers in the email. Let's consider how to change its appearance and save the product card as a module for use in other messages. Using the same algorithm, you can save the footer and header of the Products block as modules.

Note

Before editing cards of the block, set up its structure and data substitution rules

Editing Card

1. In the Messages → Messages section, open or create an email and drag the Products block into it.

Products block

2. Open the Structures tab on the left panel.

Structures

3. Drag the desired structure anywhere in the content. The structure's location in the email does not matter since it must be deleted after editing and updating.

We recommend choosing a structure with the same number of containers as in the Products block.

The example adds a structure with two containers.

Structure with two containers

4. Click on the Products block in the email and go to the Modules tab.

Modules tab

5. In the Product card section, copy the module's name used in the block.

Product card section

6. On the left panel, open the Modules tab.

Modules tab

7. On the My modules tab, paste the module name you copied in step 4 into the search field. If the module is not found, this means that by default, the Products block uses a module from the general library, which is presented on the Advanced tab. Open it and find the appropriate module.

Product recommendations module

8. Drag the module into the structure added at the beginning of the settings. In the example, the module is dragged into the left container.

Module in container

9. Make changes to the card using the options on the left panel. In the example, the color of the button has been changed.

Edited card

Note

To change price currency and format, leave a request to support@yespo.io

Adding Product Parameters to Card

By default, variables for the following parameters are available in the product card:

  • Link
  • Name
  • Title
  • Description
  • Image
  • Old Price
  • New Price

You can add any other parameter from the product feed to the card, such as the book author's name.

Follow these steps:

1. Add a block to the container of the product card to display the parameter (for example, a text block for author data). For convenience, insert the corresponding text (Author) into it.

Text block

2. Open the code of this block by clicking the corresponding icon on the editor panel and add the class attribute to the “Author” field: class="Author".

Class attribute

3. Select the Smart container, go to the Data → Configuration tab, and click the + icon.

Configuration

4. Select the Variable option from the list.

Variable

5. Enter the name of your product feed parameter in the Variable field and a custom name in the Name field.

Product feed parameter

6. Go to the Matching rules section, select the Internal tab, and specify the email block selector (in our case, .Author). In most cases, the Attribute field can be left empty.

Matching rules

Note

The CSS selector name of the element is case-sensitive and must match the class attribute name specified in the email code.

7. Go to the Appearance tab to check that the corresponding field has appeared there.

Appearance

8. Go to saving the card as a module.

Saving a Card as a Module

1. After making changes, select the entire module, hover over the additional menu (3 dots), and click Save as module.

Save as module

2. Click Save or Update at the bottom of the left panel.

Save/Update

If the module is being created and not updated, the block in the email must be updated manually:

1. Click on the Products block in the email and go to the Modules tab.

Modules tab

2. Click the Replace button in the Product card section.

Replace

3. Select the product card module you just saved.

Product card module

The Products block will be updated after the selection window is closed.

Updated block

Updating Modules in Messages

If you have updated a module in the module library, and it is already used in the Products block in a message, that block will be marked with the Off icon, and a warning will appear on the Modules tab. This indicates that the library has new versions of the modules, while those used in the message are outdated.

Updating modules in messages

To update the module in the email to the latest version, follow these steps:

1.  Select the block and go to the Modules tab.

Modules tab

2. Click the Update module button.

Click the Update module button

3. Save the changes in the email.

Save the changes in the email

Note

Module updates are the same for headers, footers, and product cards.

Any Questions?
We’re always happy to help!
Discount services
Schedule a Call
Fill in the form, and our specialists will call you back as soon as possible.
Discount services
Chat Support
We’re waiting for your questions!
Discount services
Email
Contact the support team