Everybody's Changing

and I don't feel the same.

fvReVolusion : Volusion plugin for Power Reviews

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

[code:js]
<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>
[/code]



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

Previous

Keane – Somewhere Only We Know

Next

2004년 나홀로 여행

6 Comments

  1. Sean

    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

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

    Sean

  3. masterpc

    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

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

  5. masterpc

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

  6. Sean

    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

Leave a Reply

*

Powered by WordPress & Theme by Anders Norén