Skip to main content

Adds button to import xlsx or csv in website cart

Project description

Odoo Community Association

Website Sale Cart Add Product Xlsx Csv

Beta License: AGPL-3 OCA/e-commerce Translate me on Weblate Try me on Runboat

This module adds a button in the website cart that let users import a xlsx or csv file with the products and quantities that he wants to add.

This button is only shown on empty carts, and the file must contain the product’s internal reference and the quantity to buy.

Table of contents

Configuration

To configure this module, you need to:

  • To enable the cart import button, go to Website / Configuration / Settings. Then search the “Cart Import Button” and set its value.

  • To edit the maximum file size, go to Website / Configuration / Settings. Then search the “Cart import button file size limit” and edit its value.

Usage

To use this module, you need to:

  1. Go to the “/shop/cart” path of your server website. Example: “http://localhost:8069/shop/cart

  2. You will see your cart. Empty it if it has products.

  3. Click on “Download example file”. Fill the xlsx file rows: 3.1. The “default_code” column is the internal reference of the product that you are going to add to your cart 3.2. The “product_uom_qty” is the qty of the product that you are going to add to your cart

  4. Select the filled file, and click the “Import” button

  5. You will see the cart with the imported products. If some error hapened or there are products that could not be imported, the system will show a message

Known issues / Roadmap

  • Despithe the fact that the cart button is enabled by default, some Odoo instances have the website configured to hide it if it is empty. If the shopping cart button is hidden without anything in it, the functionality cannot be used until something is added to the cart.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Sygel

Contributors

  • Sygel:

    • Alberto Martínez

    • Valentin Vinagre

    • Harald Panten

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/e-commerce project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_website_sale_cart_add_product_xlsx_csv-17.0.1.0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_website_sale_cart_add_product_xlsx_csv-17.0.1.0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8d0f6cf69b5de1b33bb94bb72bbd50c620667dac043d45d1a4f1527758c69294
MD5 4ff1d7936ab603bf6dc57376c3c25238
BLAKE2b-256 b8e3aac81636566904115b4c39453c397ec001d701735973f3d38eb69024f605

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page