Text Variables to use in Dark Pattern Plugin

Our WooCommerce dark pattern plugin offers multiple variables, that you can use in the setting text fields. Example in before / after countdown texts or in the left stock bar. The full list of variables:

  • {{stockQuantity}} = Current Stock Quantity
  • {{currentlyViewing}} = Current people viewing the product
  • {{productsSold}} = Amount of Products sold
  • {{stockQuantityText}} = Current Stock Quantity Text with HTML element for automatic changing numbers
  • {{stockQuantityMax}} => Max Quantity (based on sold products + current stock)
  • {{stockQuantityMaxText}} => Max Quantity Text with HTML element for automatic changing numbers
  • {{productsSoldPercentage}} => Percentage of how many products were sold / max Quantity
  • {{stockLeftPercentage}} => Percentage of left stock based on max Quantity
  • {{regularPrice}} => Regular Price (formatted)
  • {{salePrice}} => Sale Price (formatted)
  • {{savedAmount}} => Saved Amount (formatted)
  • {{savedPercentage}} => Percentage how much is saved on this Product

Deja una respuesta

Tu dirección de correo electrónico no será publicada.