Setting Up PrestaShop Text Before and After Price

Displaying Personalized Text Before and After Price

Enabling Custom Text Before and After Price

Go to the “General Settings” tab to enable the module.

Module: Turn the module on or off based on your requirements. Enabling the module allows you to utilize all its features.

Managing Multiple Rules in a Log

To manage the rules for displaying text, navigate to the “Rules” tab. This section allows you to: 

  • Edit any existing rule to update its settings.
  • Change the status of a rule directly from the log (enable or disable).
  • Perform bulk actions to delete multiple rules at once.
  • Create a new rule to add custom text configurations. 

Creating a New Text Before and After Price Rule

Click the “+” button to begin creating a new custom rule:

Rule: Enable or disable this rule. If enabled, it will be applied based on your configurations.

Title: Give the rule a descriptive name.

Priority: Set a numeric value greater than 0. Higher priority rules will be applied first.

Customer Group: Choose customer groups for whom this text will be displayed. Enable or disable the selection and specify the groups.

Apply on All Products: If enabled, the rule will apply to all products. If disabled, you can proceed to customize the rule.

Product, Category, Supplier, and Manufacturer Selections:

Product Selection: Enable, search, and add specific products for which the text will be shown.

Category Selection: Choose categories where you want the text to appear.

Supplier Selection: Specify suppliers for which the text should be displayed.

Manufacturer Selection: Define manufacturers for whom the text will be shown.

Further Rule Customization:

Products Based on Price: Enable and specify price-related details:

  • Price Calculation Type: Choose from:
    • Retail Price With Taxes
    • Retail Price Without Taxes
  • Product Minimum Price: Set a minimum price for the products.
  • Product Maximum Price: Set a maximum price for the products.

Products Based on Stock: Enable and provide stock-related details:

  • Products With Stock From: Define the minimum stock quantity.
  • Products With Stock To: Define the maximum stock quantity.

Products Based on Discount: Enable and select applicable discounts for the rule.

Customization Options:

Display Text: Decide where the text will be shown:

  • Shop Page
  • Product Page
  • Both

Text Placement: Choose from the following placement options:

  • Before Price
  • After Price
  • Both

Text Before Price: Enter the text you wish to show before the product price.

Text After Price: Enter the text you wish to display after the product price.

Text Color: Specify the color of the text.

Background Color: Choose a background color to make the text stand out.

Font Selection: Select from 5 available font styles.

Text Styling: Choose from formatting options:

  • Bold
  • Italic