Codenerix Products is a module that enables CODENERIX to set products on several platforms in a general manner
2018-01-17 - Codenerix Products v1.x is incompatible with v2.x, what has changed and how to migrate to v2.x?.
You can have a look to our demos online:
You can find some working examples in GITHUB at django-codenerix-examples project.
Install this package:
For python 2: sudo pip2 install django-codenerix-products For python 3: sudo pip3 install django-codenerix-products
Add "codenerix_extensions" and "codenerix_products" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'codenerix_extensions', 'codenerix_products', ]
Add in settings the params:
# path for codenerix_products CDNX_PRODUCTS_URL = "products" # if you show the products without stock CDNX_PRODUCTS_SHOW_ONLY_STOCK = False # number of the days for one products to be considered new CDNX_PRODUCTS_NOVELTY_DAYS = 5 # No force stock by default CDNX_PRODUCTS_FORCE_STOCK = False
Since Codenerix Products is a library, you only need to import its parts into your project and use them.
Coming soon... do you help us?
You can get in touch with us here.