Plugin vs. JavaScript

What are the pros and cons with embedding a shop with Wordpress plugin versus JavaScript?

Hi,

Both are the same, but the plugin is for non-experienced users. With the plain JavaScript integration you could add more than one shop to your website (when it’s necessary ;)).

Cheers
Thimo