Skip to content

Instantly share code, notes, and snippets.

@yeriepiscesa
Last active June 19, 2020 04:21
Show Gist options
  • Save yeriepiscesa/3125f088766a61b2f4f941e07cfd08ad to your computer and use it in GitHub Desktop.
Save yeriepiscesa/3125f088766a61b2f4f941e07cfd08ad to your computer and use it in GitHub Desktop.
Shortcode for CF7 Send WA Quick Shop
Default Shortcode, menampilkan seluruh produk simple & variabel dan dikelompokan per kategori.
[cf7sendwa-quickshop]
Menampilkan text & category filter.
[cf7sendwa-quickshop filter="yes"]
Menampilkan produk dengan kategori hoodies. Untuk beberapa kategori gunakan koma sebagai pemisah. misal hoodies,tshirts
[cf7sendwa-quickshop category="hoodies"]
Menampilkan produk tertentu saja, gunakan product ID.
[cf7sendwa-quickshop products="5,10"]
Disable detail produk
[cf7sendwa-quickshop category="hoodies" detail="no"]
Untuk menampilkan total dan menghubungkan ke Contact Form 7 gunakan shortcode berikut:
[cf7sendwa-checkout]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment