fvReVolusion : Volusion plugin for Power Reviews

Posted at 2009/09/06 19:51 in [Tech]

There were some misunderstandings about Volusion ftp service on my previous post. Please forgive me. :)
I finally made a simple javascript which enables us to integrate with Power Reviews easily.
I named it "fvReVolusion."

Let me explain how it works briefly.

Volusion has the unique URL patterns on displaying pages.
If you are a web developer, you may notice that it has several URL patterns.

Pages URL Patterns
Index http://YOURSTORE.COM
  http://YOURSTORE.COM/Default.asp
Category http://YOURSTORE.COM/NAME-s/XXXX.htm
  http://YOURSTORE.COM/NAME_s/XXXX.htm
Search http://YOURSTORE.COM/SearchResults.asp?Search=XXXX
Detail http://YOURSTORE.COM/ProductDetails.asp?ProductCode=XXXX
  http://YOURSTORE.COM/TITLE-p/XXXX.htm
  http://YOURSTORE.COM/TITLE_p/XXXX.htm

Basically, fvRevolusion parses the requested URL upon finishing loading HTML. And, it will execute the coressponding function in order to display snippets and reviews.

I used jQuery to manipulate DOM which are generated by Volusion.

Installation Instructions
1. Create a directory inside the "/v" directory.
  Let's assume that you created a directory named "revolusion" inside "/v"
2. Upload three files into "/v/revolusion" directory on your Volusion by using FTP
3. Make sure that you can access three files by web browser.
  For example, http://YOURSTORE.COM/v/revolusion/fvSettings.js
4. Edit "fvSettings.js"
  You might want to change few values such as MERCHANT_ID, MERCHANT_CSS and CATEGORY_NO_WRITE.
5. Add the initializing javascript codes to template_xx.html
  <script type="text/javascript" src="/v/revolusion/jquery-1.3.2.min.js"></script>
  <script type="text/javascript" src="/v/revolusion/fvRevolusion.js"></script>
  <script type="text/javascript" src="/v/revolusion/fvSettings.js"></script>
  <script type="text/javascript">
    fvRevolusion.main();
  </script>


That's it. Now you can see the Power Reviews snippets and reviews!

Download files
fvRevolusion.js
fvSettings.js
jquery-1.3.2.min.js
2009/09/06 19:51 2009/09/06 19:51

http://www.4eva.net/trackback/26

  1. Sean

    2009/09/10 13:45 [Edit/Del] [Reply]

    Hi,

    This is really great. I got this working in less than 5 minutes - thank you, thank you, thank you!

    1 question for you. When I click on a category to display a bunch of products, I don't see the stars displayed (product description short). Is there a way to add that?

    Thanks again,
    Sean

  2. Sean

    2009/09/10 13:58 [Edit/Del] [Reply]

    Seems to work for lightweight grid, but not for any other display types.

    Sean

  3. masterpc

    2009/09/10 19:17 [Edit/Del] [Reply]

    Hello Sean,

    I couldn't make this plugin for supporting all display types.

    If you have little knowledge on javascript and jquery, I recommend you add a new function based on fvCategorySnippetWriterBelowPrice in fvRevolusion.js.

    And then, simplely change SNIPPET_ON_CATEGORY: new YOUR_FUNCTION_NAME() in fvSettings.js.

    That's it.

    If you take a look inside fvCategorySnippetWriterBelowPrice function, you might understand how it works.

    Thanks.

  4. Sean

    2009/09/11 07:27 [Edit/Del] [Reply]

    I'll take a look. Thanks again for your help!

  5. masterpc

    2009/09/12 09:46 [Edit/Del] [Reply]

    No problem. If you have any question, feel free to ask!

  6. Sean

    2009/09/16 18:15 [Edit/Del] [Reply]

    Hi,

    Everything is working like a charm. I can't thank you enough for your help.

    Off topic question: do you have a query to export the order_id, page_id, first_name, last_name and email from Volusion for the Power Reviews email's? I feel like I'm running into a wall for the simplest things with this integration. The order table export that Volusion has as a "canned" export doesn't include email addresses...

    Thanks again,
    Sean

  7. masterpc

    2009/09/21 07:27 [Edit/Del] [Reply]

    Hi Sean,

    That was not my job. So I am not sure about it.

    Only thing I can help you is, read this document below.
    http://4eva.net/download/Legacy_Review.pdf

  8. Zach

    2010/05/27 08:38 [Edit/Del] [Reply]

    I really want to use this and it seems to be working. My problem is when I click on the Write Review button. It just doesnt parse properly and I keep getting an error. Can you give me some ideas? Everything is correct, it just doesn't parse right...

    • masterpc

      2010/05/28 12:36 [Edit/Del]

      Hi Zach,

      I am not sure why you are facing a problem.

      Since my client never complains about any problem, I guess this plugin still works properly.

      Only thing I can assume that the template you are using may cause a problem.

      To solve your problem, let me know your website url.

      You can write it down here or send me an email.

  9. Secret visitor

    2010/06/09 13:44 [Edit/Del] [Reply]

    Administrator only.

Leave a Comment

[Login][OpenID?]