
Since odoo/documentation#903, the guideline for the location of new resource (images, downloadable files, RST includes...) files is to place those inside the directory of the RST page that references them. For example, if `doc1.rst` has a reference to `image.png` and to `download.zip`, the file structure should look like this: ├── parent_doc/ │ └── doc1/ │ │ └── image.png │ │ └── download.zip │ └── doc1.rst │ └── doc2.rst ├── parent_doc.rst Before this commit, most of the resource files were still located inside 'media' directories holding all the resource files referenced by RST pages located at the same level as these directories. In the example above, a single 'media' directory would hold all the resource files referenced by both `doc1.rst` and `doc2.rst`. Doing so prevented us from figuring out easily which resource file was referenced by which RST page and, thus, lead to unused resource files piling up in the repository. It also made it more complicated to define codeowners regex rules because a team could not simply be assigned to `/some_page.*` but needed to be assigned to both `/some_page\.rst` and to the location of 'media'. In order to help new content writers figure out the guideline when taking examples from other RST pages, this commit retroactively applies the guideline to existing resource files and 'media' directories. The left-over resource files that are not referenced by any RST page are removed. task-2497965 Part-of: odoo/documentation#2068
37 lines
1.2 KiB
ReStructuredText
37 lines
1.2 KiB
ReStructuredText
==================================
|
|
How to customize my catalog page
|
|
==================================
|
|
|
|
Product Catalog
|
|
===============
|
|
|
|
All your published items show up in your catalog page (or *Shop* page).
|
|
|
|
.. image:: catalog/shop.png
|
|
:align: center
|
|
|
|
Most options are available in the *Customize* menu: display attributes,
|
|
website categories, etc.
|
|
|
|
.. image:: catalog/shop_customize.png
|
|
:align: center
|
|
|
|
Highlight a product
|
|
===================
|
|
|
|
Boost the visibility of your star/promoted products: push them to top, make them
|
|
bigger, add a ribbon that you can edit (Sale, New, etc.). Open the Shop page, switch
|
|
to Edit mode and click any item to start customizing the grid.
|
|
|
|
See how to do it: https://www.odoo.com/openerp_website/static/src/video/e-commerce/editing.mp4
|
|
|
|
Quick add to cart
|
|
=================
|
|
|
|
If your customers buy a lot of items at once, make their process shorter by enabling purchases from
|
|
the catalog page. To do so, add product description and add to cart button. Turn on the following
|
|
options in *Customize* menu: Product Description, Add to Cart, List View (to display product
|
|
description better).
|
|
|
|
.. image:: catalog/shop_list.png
|
|
:align: center |