WP Manifestindependent plugin directory
manifest / ecommerce / wpstorm-china-pricing

WPStorm China Pricing for WooCommerce

★ 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/esradev/wpstorm-china-pricing/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.

Stores WooCommerce product source prices in Chinese Yuan (CNY) and dynamically calculates the customer price in Iranian Toman.

Features

  • Global CNY to Toman exchange rate.
  • Configurable Toman rounding.
  • CNY price field for simple products.
  • CNY price field for variations.
  • WooCommerce frontend/cart/checkout use the calculated Toman price.
  • Order line items store the original CNY price and exchange rate snapshot.
  • No automatic profit, shipping, customs, or other cost calculations.

Usage

  1. Install and activate WooCommerce.
  2. Install and activate this plugin.
  3. Go to WooCommerce > China Pricing.
  4. Set the CNY to Toman rate.
  5. Set rounding, or use 0 to disable it.
  6. Edit a WooCommerce product and enter its China Price (CNY).
  7. Save the product.

The product's WooCommerce price is calculated as:

CNY Price × CNY/Toman Rate

Then the result is rounded to the nearest configured rounding amount.