Reward Points add-on Help

I have enabled the add-on. Points are displayed and added to the customers account.
But I cannot see the field to pay with points on check out page.
It does not appear so customers cannot use their points.

Is there anything special to make this field appear ?

Please go to Reward points tab on the product details page and find the "Allow payment by points
" option. It should be enabled

Ok thanks.
But it is disabled… on all our products.
I must change this option on every products ? Too bad…

@pascal you can do this in bulk by exporting all the products, including the field “Pay by points — Allow payment by credits”.
In the output file, update the value to Y, then re-import the product back in.
There are some docs on how Export/Import works here: Product Import and Export — CS-Cart 4.15.x documentation

As alternative, run in phpMyAdmin

UPDATE cscart_products SET is_pbp = 'Y';

Thanks ecom, I think it’s the best way to do this.

Last question : when add-on is enable, when a new product is created, the option to let the product being paid with points is checked ON (and when the add-on is disabled, it’s checked OFF).

On which page can I change this ? I’ve checked update.tpl, but it seems it’s not there.

Hi!

Create the override of this one template:
design/backend/templates/addons/reward_points/hooks/products/tabs_content.post.tpl

There, find the following string:

<input type="checkbox" name="product_data[is_pbp]" id="pd_is_pbp" value="Y" {if $data.is_pbp == "Y" || $runtime.mode == "add"}checked="checked"{/if} onclick="{if $is_auto != 'Y'}Tygh.$.disable_elms(['price_in_points'], !this.checked);{else}Tygh.$.disable_elms(['is_oper'], !this.checked); Tygh.$.disable_elms(['price_in_points'], !this.checked || !Tygh.$('#is_oper').prop('checked'));{/if}">

and replace it with this one:

<input type="checkbox" name="product_data[is_pbp]" id="pd_is_pbp" value="Y" {if $data.is_pbp == "Y"}checked="checked"{/if} onclick="{if $is_auto != 'Y'}Tygh.$.disable_elms(['price_in_points'], !this.checked);{else}Tygh.$.disable_elms(['is_oper'], !this.checked); Tygh.$.disable_elms(['price_in_points'], !this.checked || !Tygh.$('#is_oper').prop('checked'));{/if}">