Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

need help with embedding vanilla in opencart

hamjavhamjav New
edited May 2014 in Vanilla 2.0 - 2.8

Hi, I can embedded vanilla on my online shop, but when I try to use the blog embed code on product page i can not figure out how to specify the

var vanilla_identifier = 'your-content-identifier'; // Your unique identifier for the content being commented on

If i use a product name in vanilla_identifier i can only see the same comments appearing in every product page with the same people that commented on the 1st page. While I want different comments on different product page what is the solution for this? Do i need to edit php code from opencart and add it to the var vanilla_identifier? Need help!!!!

Tagged:

Comments

  • Options
    hgtonighthgtonight ∞ · New Moderator

    Welcome to the community!

    What version number of Vanilla are you running?

    What guide are you following? IIRC, you want to use a unique ID there for each content item.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Options
    hamjavhamjav New
    edited May 2014

    hi, I'm using vanilla 2.1 current stable version and testing on localhost via xampp. Yeah a unique ID for all product pages where I embed vanilla comments system. btw I don't have php experience and only can handle CSS or HTML.

Sign In or Register to comment.