WP Manifestindependent plugin directory
manifest / ecommerce / rx1-ingredients

RX1 Ingredients

WooCommerce ingredient library + product assignment + tooltips + purifier

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/parhamfa/rx1-ingredients/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

WordPress plugin for WooCommerce that provides a master ingredient library (CPT), product assignment, frontend ingredient tooltips, and an Ingredients Purifier tool to migrate legacy [html_block] ingredients into the new system.

Repository: https://github.com/parhamfa/rx1-ingredients

Features

  • Ingredient library: rx1_ingredient custom post type (title = ingredient name, editor = tooltip HTML)
  • Assign ingredients to products: WooCommerce product data tab with SelectWoo (AJAX search)
  • Frontend rendering: [rx1_ingredients] shortcode that outputs the “2nd design” grid (.ing-grid-container, .ing-item, .ing-name, .ing-tooltip)
  • Tooltip sanitization: safe HTML whitelist + removes decorative Kashida/dash runs
  • Ingredients Purifier (WooCommerce submenu): scans legacy [html_block] usage, stages occurrences, clusters by normalized names, suggests duplicates, lets you merge/detach, and batch-creates ingredients
  • CSV: export approved clusters or all created ingredients, import name,tooltip_html in batches
  • Persian UI: built-in fa_* translations (runtime mapping) so it’s usable immediately on Persian sites

Requirements

  • WordPress 6.0+
  • PHP 7.4+
  • WooCommerce installed/active

Usage

  1. Create ingredients under WooCommerce → Ingredients (CPT list)
  2. Assign ingredients on a product edit screen (Ingredients tab)
  3. Render on frontend using shortcode:

[rx1_ingredients]

Notes

  • This plugin ships with a lightweight Persian translation override via gettext. If you later prefer standard .po/.mo translations, you can add compiled files under languages/ and remove the override.

License

GPL-2.0-or-later