Store Reviews Page - Submit Button
solved

By Daniel Hoyland, 4 years 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, 4 years 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, 4 years ago

Thank you, that is perfect!