Skip to content

Instantly share code, notes, and snippets.

View ChamRun's full-sized avatar
🤖
Part-time self-improver

Cham Run Moeini ChamRun

🤖
Part-time self-improver
View GitHub Profile
@ChamRun
ChamRun / custom-woocommerce-shipping.php
Created September 5, 2023 16:20 — forked from goranefbl/custom-woocommerce-shipping.php
Adds a new shipping method that calculates shipping price based on quantity of products
<?php
/*
Plugin Name: Shipping Price per Quantity Plugin
Plugin URI: http://itsgoran.com
Description: Adds a new shipping method that calculates shipping price based on quantity of products - made for Cider.
Version: 1.0.0
Author: Goran Jakovljevic
Author URI: http://itsgoran.com
*/