Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
109 changes: 109 additions & 0 deletions website_sale_product_item_cart_custom_qty/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
==================================
Website Sale Product Cart Quantity
==================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:d85d3711ac75c8b8f836860bac8035a42fa888be2b080725a065c05150adc97f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fe--commerce-lightgray.png?logo=github
:target: https://github.com/OCA/e-commerce/tree/18.0/website_sale_product_item_cart_custom_qty
:alt: OCA/e-commerce
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_product_item_cart_custom_qty
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/e-commerce&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows to add custom quantity from the product items in
catalog.

**Table of contents**

.. contents::
:local:

Configuration
=============

To use this module, you need to activate the **Add to Cart** option on
**Products item** To activate this option you have to go to **/shop**,
edit the website and in the **Customize** tab of the editor activate the
**Add to Cart** button whose icon is a shopping cart. If you want the
buttons for selecting the quantity to always be displayed on the product
card, activate the **Always display qty buttons** option.

Usage
=====

1. Select how many units of product do you want.
2. Press on "Shopping cart" button located on product item.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/e-commerce/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 <https://github.com/OCA/e-commerce/issues/new?body=module:%20website_sale_product_item_cart_custom_qty%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Tecnativa

Contributors
------------

- `Tecnativa <https://www.tecnativa.com>`__:

- Carlos Roca
- Pilar Vargas

- ``Cetmix <https://www.cetmix.com>``\ \_:

- Ivan Sokolov
- Dessan Hemrayev

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

.. |maintainer-CarlosRoca13| image:: https://github.com/CarlosRoca13.png?size=40px
:target: https://github.com/CarlosRoca13
:alt: CarlosRoca13

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-CarlosRoca13|

This module is part of the `OCA/e-commerce <https://github.com/OCA/e-commerce/tree/18.0/website_sale_product_item_cart_custom_qty>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions website_sale_product_item_cart_custom_qty/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Copyright (C) 2023 Cetmix OÜ
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
23 changes: 23 additions & 0 deletions website_sale_product_item_cart_custom_qty/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2021 Tecnativa - Carlos Roca
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Website Sale Product Cart Quantity",
"summary": "Allows to add to cart from product items a custom quantity.",
"version": "18.0.1.0.0",
"website": "https://github.com/OCA/e-commerce",
"maintainers": ["CarlosRoca13"],
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": ["website_sale"],
"data": ["views/templates.xml"],
"assets": {
"web.assets_frontend": [
"/website_sale_product_item_cart_custom_qty/static/src/scss/add_to_cart.scss"
],
"web.assets_tests": [
"/website_sale_product_item_cart_custom_qty/static/src/js/tour.esm.js"
],
},
}
27 changes: 27 additions & 0 deletions website_sale_product_item_cart_custom_qty/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_product_item_cart_custom_qty
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-07-05 14:08+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: website_sale_product_item_cart_custom_qty
#: model_terms:ir.ui.view,arch_db:website_sale_product_item_cart_custom_qty.products_add_to_cart
msgid "Add one"
msgstr "Añadir uno/a"

#. module: website_sale_product_item_cart_custom_qty
#: model_terms:ir.ui.view,arch_db:website_sale_product_item_cart_custom_qty.products_add_to_cart
msgid "Remove one"
msgstr "eliminar uno/a"
27 changes: 27 additions & 0 deletions website_sale_product_item_cart_custom_qty/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_product_item_cart_custom_qty
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-05-10 16:34+0000\n"
"Last-Translator: Francesco Foresti <francesco.foresti@ooops404.com>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.14.1\n"

#. module: website_sale_product_item_cart_custom_qty
#: model_terms:ir.ui.view,arch_db:website_sale_product_item_cart_custom_qty.products_add_to_cart
msgid "Add one"
msgstr "Aggiungi uno"

#. module: website_sale_product_item_cart_custom_qty
#: model_terms:ir.ui.view,arch_db:website_sale_product_item_cart_custom_qty.products_add_to_cart
msgid "Remove one"
msgstr "Rimuovi uno"
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_product_item_cart_custom_qty
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: website_sale_product_item_cart_custom_qty
#: model_terms:ir.ui.view,arch_db:website_sale_product_item_cart_custom_qty.products_add_to_cart
msgid "Add one"
msgstr ""

#. module: website_sale_product_item_cart_custom_qty
#: model_terms:ir.ui.view,arch_db:website_sale_product_item_cart_custom_qty.products_add_to_cart
msgid "Remove one"
msgstr ""
3 changes: 3 additions & 0 deletions website_sale_product_item_cart_custom_qty/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
6 changes: 6 additions & 0 deletions website_sale_product_item_cart_custom_qty/readme/CONFIGURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
To use this module, you need to activate the **Add to Cart** option on
**Products item** To activate this option you have to go to **/shop**,
edit the website and in the **Customize** tab of the editor activate the
**Add to Cart** button whose icon is a shopping cart.
If you want the buttons for selecting the quantity to always be displayed on the
product card, activate the **Always display qty buttons** option.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- [Tecnativa](https://www.tecnativa.com):

> - Carlos Roca
> - Pilar Vargas

- `Cetmix <https://www.cetmix.com>`_:

> - Ivan Sokolov
> - Dessan Hemrayev
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module allows to add custom quantity from the product items in catalog.
2 changes: 2 additions & 0 deletions website_sale_product_item_cart_custom_qty/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1. Select how many units of product do you want.
2. Press on "Shopping cart" button located on product item.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading