Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

spree_pinterest

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spree_pinterest

  • 0.2.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Spree Pinterest

Simple Spree extension for adding a Pinterest Pin it button for your product images. It will add the button below each image on the products#index page and on the products#show page.

It has some default styling that works with the default Spree theme, but you can easily override this styling to fit your needs.

Button parameters

There are three parameters that the button uses to create the pin: url, media, and description. The values used for each of these are as follows:

  • url - The URL of the page that the pin button is located on
  • media - The URL for the image that is being pinned
  • description - The product name

When you click the "Pin it" button, a Pinterest-provided window is opened for you to confirm the pin. Here you will have the opportunity to choose your pin board, as well as modify the description if you don't want to use the default.

Testing this engine

Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.

$ bundle
$ bundle exec rake test app
$ bundle exec rspec spec

Copyright (c) 2012 Genuity Technology Services, released under the New BSD License

FAQs

Package last updated on 03 Mar 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc