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

WPStorm China Pricing for WooCommerce

Stores WooCommerce product prices in CNY and calculates the customer price in Toman using an admin-controlled CNY exchange rate and rounding rule.

by WPStorm · github.com/esradev/wpstorm-china-pricing

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/esradev/wpstorm-china-pricing/archive/refs/heads/main.zip

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.