# UltraCart Ecommerce - Shopping Cart

A plugin to help you sell your UltraCart items on WordPress. 

## Installation

- Install it from the plugin marketplace
- OR download it from GitHub and put it in your plugins directory
- Make sure it's active in the plugins tab in the WP Admin

## Usage

- After installing and activating, go to Settings -> UltraCart and click 'Connect to UltraCart'
- Login to your merchant account
- Review the permissions & Authorize the Application (UltraCart will begin syncing the items to your Wordpress database)
- You will now be ready to start adding shortcodes to your templates
- Supported Shortcodes: `[ucwp_buy_button], [ucwp_item], [ucwp_item_list], [ucwp_price]`

## Contributing

1. Fork it!
2. Make sure Node.js 18+ and npm are installed
3. Install project npm dependencies from plugin root directory: `npm install`
4. Create your feature branch: `git checkout -b my-new-feature`
7. Commit your changes: `git commit -am 'Add some feature'`
8. Push to the branch: `git push origin my-new-feature`
9. Submit a pull request :D

## Development (Vite)

- Dev (watches and writes to `assets/`): `npm run dev`
- Build production bundles: `npm run build`

Outputs:
- JS: `assets/js/uc-wp.js` (IIFE compatible with WordPress enqueue without `type="module"`)
- CSS: `assets/css/uc-wp.css`

## History

TODO: Write history

## Credits

TODO: Write credits

## License

TODO: Write license
