News:

Support the VirtueMart project and become a member

Main Menu

Help is needed adding shopper approved reviews

Started by emperor, December 13, 2017, 19:06:13 PM

Previous topic - Next topic

emperor

Hi there. We have a live website, with custom flexible template and a lot of custom work (plugins) done for virtuemart.net team (We are more than thankful for that).

Now, I need some help to add Shopper Approved product reviews. There are some steps that I can't follow or don't know what exactly to do. (I have managed I believe the step 3 and 4 and I can also manage step 5).
I - for sure - don't know how to add the Step One on the thank you page and the step 2 on the category page. I'm willing to pay someone that can help with that.

Step One
Product Reviews Thank you Page Bolt-on
You will then need to add in code for the product. What you need to do is create a variable called sa_products and populate that variable with the correct key value pairs for your cart. What it needs to do is get the product that the customer purchased and populate sa_products with the product id of that product. All carts are different, so you will have to populate the variable the way your cart needs.
Here is a video of where You can find our code that we have in the dashboard: https://www.screencast.com/t/caDc7Y1Fs
Please note: Like I said, all carts are different. This means that the code in our dashboard may or may not work on your site. You will have to create the correct code based on your cart.
Step Two
Category code
Get the Product Category code from the Shopper Approved Control Panel for your site. There are two parts. The first only needs to be on the category pages once. See video here: https://www.screencast.com/t/ONnM1lyo3
The second ( the div) will need to go in the place where the stars are going to appear, see here: http://i.imgur.com/JFooQc6.jpg
Step Three
Product Page Just Stars Code
Retrieve the product page stars code by going to the Shopper Approved control panel and grabbing the code seen here: https://www.screencast.com/t/OmrRQ9singyf
Please note: You will have to replace the [PRODUCT ID] placeholder anywhere you place this code.
Step Four
Product Page Product Widget
We will then need to get our product review widget on the page. You can retrieve that from here: https://www.screencast.com/t/HzANhpbqZVhO
You will then need to place it so that it shows at the place you would like on your site. This is where your product reviews will show on your product pages.
Height will vary based on review length and other factors and is ok to change. Because of this, you may need to make a container to sit it in if the theme doesn`t allow the widget to space itself properly. Very similar to this page: https://bettawear.com/products/betta-belt-mens-elastic-web-belt
Please note: You will have to replace the [PRODUCT ID] placeholder anywhere you place this code.
Step Five
Product Feed
You will need to provide us with a product feed that includes all of your products. I have attached an example feed for you to reference.