Skip to content

Instantly share code, notes, and snippets.

View kirwako's full-sized avatar
🎯
Focusing

IMRAN BAALI kirwako

🎯
Focusing
View GitHub Profile
@kirwako
kirwako / deployTocPanel.yml
Last active July 20, 2022 13:22
yaml configuration file for deploying frontend app in cPanel using GitHub actions
on:
push:
branches:
- master
name: 🚀 Deploy Website to CPanel
jobs:
web-deploy:
name: 🎉 Deploy Website to CPanel
runs-on: ubuntu-latest
steps:
@kirwako
kirwako / add-whatsapp-button-in-youcan-store.html
Last active December 28, 2022 11:16
Add WhatsApp button to Your YouCan Store
<script>
const phoneNumber = "+212600816818"; // change this with your store's phone number
const buttonContent = "طلب عن طريق واتساب"; // change this with your button content
const buttonColor = "#1cbfa2"; // change this with your button color
const buttonOnRight = true; // if you want whatsapp icon inside button on right side, set this to true else set it to false
let WhatsAppMessage = " مرحباً، أريد الحصول على هذا المنتج "; // change this with your message content that will be sent to your store's whatsapp number
window.onload = function () {
var buyButtonDiv = document.querySelector(
'.product-section.add-to-cart-section'