Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coloredcow/woocommerce-currency-per-vendor
https://github.com/coloredcow/woocommerce-currency-per-vendor
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/coloredcow/woocommerce-currency-per-vendor
- Owner: ColoredCow
- Created: 2020-11-06T07:47:09.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-06T10:05:45.000Z (about 4 years ago)
- Last Synced: 2024-05-11T20:41:09.141Z (8 months ago)
- Language: PHP
- Size: 7.81 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WooCommerce Currency Per Vendor
A WooCommerce multi-vendor extension that let's you set currency specific to each vendor in a multi-vendor eCommerce store. The price of the products created by a vendor will be set in the vendor's currency.
Especially useful when you have vendor from different countries all over the globe.
## Dependencies
1. [WooCommerce](https://wordpress.org/plugins/woocommerce/)
1. [WCFM Marketplace](https://wordpress.org/plugins/wc-multivendor-marketplace/)### Installation steps
1. Clone this repository and add it inside your WordPress site's `plugins/` directory.
1. Go to the WP Admin Dashboard and activate the plugin.### Usage
At this point, the only way to set a vendor specific currency is by executing a database `insert` query.
```sql
INSERT INTO `wp_usermeta` (`user_id`, `meta_key`, `meta_value`)
VALUES (, '_wcpv_currency', 'INR');
```> _Note: Don't forget to update `wp_` with your WordPress table prefix in the above query._