[IMP] Suggested Products everywhere instead of alternative products (consistency)

This commit is contained in:
Fabien Pinckaers
2015-07-09 17:08:09 -07:00
parent fd14f44dd3
commit 74aac7676d
3 changed files with 8 additions and 8 deletions
@@ -386,16 +386,16 @@
<div class="panel-heading">
<span class="panel-title">
<span class="fa fa-tag"/>
<strong> 1. On Product pages:</strong> Show alternative products
<strong> 1. On Product pages:</strong> Show suggested products
</span>
</div>
<div class="panel-body">
<p>
Increase your chances to make a sale by displaying alternative products.
Increase your chances to make a sale by displaying suggested products.
</p>
<li>On your website, go to the product page where you want to add alternative products.</li>
<li>Activate 'Alternative products' from the 'Customize' menu.</li>
<li>Go to the <a t-att-href="prepare_backend_url('product.product_template_action', 'kanban')">Product detail form</a> and fill in one or more <strong>'Alternative Products'</strong>.</li>
<li>On your website, go to the product page where you want to add suggested products.</li>
<li>Activate 'Suggested products' from the 'Customize' menu.</li>
<li>Go to the <a t-att-href="prepare_backend_url('product.product_template_action', 'kanban')">Product detail form</a> and fill in one or more <strong>'Suggested Products'</strong>.</li>
</div>
</div>
</div>
@@ -438,4 +438,4 @@
</xpath>
</template>
</odoo>
</odoo>
+1 -1
View File
@@ -105,7 +105,7 @@ class product_template(osv.Model):
string='Website Comments',
),
'website_description': fields.html('Description for the website', translate=True),
'alternative_product_ids': fields.many2many('product.template','product_alternative_rel','src_id','dest_id', string='Alternative Products', help='Appear on the product page'),
'alternative_product_ids': fields.many2many('product.template','product_alternative_rel','src_id','dest_id', string='Suggested Products', help='Appear on the product page'),
'accessory_product_ids': fields.many2many('product.product','product_accessory_rel','src_id','dest_id', string='Accessory Products', help='Appear on the shopping cart'),
'website_size_x': fields.integer('Size X'),
'website_size_y': fields.integer('Size Y'),
+1 -1
View File
@@ -511,7 +511,7 @@
</ul>
</template>
<template id="recommended_products" inherit_id="website_sale.product" customize_show="True" name="Alternative Products">
<template id="recommended_products" inherit_id="website_sale.product" customize_show="True" name="Suggested Products">
<xpath expr="//div[@id='product_full_description']" position="after">
<div class="container mt32" t-if="product.alternative_product_ids">
<h3>Suggested alternatives:</h3>