Store Reviews Page - Submit Button
new

By Daniel Hoyland, 1 year ago

Hello,

We are using the 'Store Reviews page (/store-reviews) and would like to add a submit button to the bottom of the reviews, much like the one on the homepage.

Can anyone advise how we do this?

By Petr Hucik, 1 year ago

That's easy.

Simply edit file modules/revws/views/templates/front/store-reviews.tpl

and add code like this one:

<button class="btn btn-primary" onclick="revws({ type: 'TRIGGER_CREATE_REVIEW', entityType: 'store',entityId: 1 })">
 Hi, could you please write some review for us? Thanks a bunch
</button>
By Daniel Hoyland, 1 year ago

Thank you, that is perfect!