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

slidertimeou

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slidertimeou

simple slider of latest products of a woocommerce shop using wc json-api

  • 1.0.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

#Simple Product Slider for Woocommerce

this script adds simple slider which demonstrates latest products of a given category from WC json api, using a setinterval function, in a given div.

in order to begin, please :

  1. Enable Woocommerce Rest API findout how

  2. Once you included this script in your theme in any way you desire, use the following example to get it to work:

then you're all set.

To put it in an nutshell, this class my ask for following variables as inputs:

host : string, null by default. simply the url of your WC rest-API installation . - optional

elem: string, null by default. The ID of element which you want this script to show in. - optional

secret: string, the secret which WC -API console gives to you. - Required.

category: string, the "slug" of a category of your products. - Required

consumer:string, the consumer key provided by wc json-api console. - Required

Yours,

~ Kaveh

Keywords

FAQs

Package last updated on 21 Feb 2019

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