Skip to content

Instantly share code, notes, and snippets.

View untwal's full-sized avatar
🏠
Working from home

manish untwal untwal

🏠
Working from home
View GitHub Profile
brand_and_catalog_numbers = {
'Bella + Canvas' => ['BST323', 'BST323C'],
'Bayside' => ['1900J1'],
'LAT' => ['J0041', 'J0042'],
'Rabbit Skins' => ['J0051', 'J0052'],
'US Blanks' => ['USFM47'],
'Next Level' => ['NLM100', 'NLM101']
}
brand_and_catalog_numbers.each do |brand_name, catalog_numbers|
shipping_rules = [
{
brand_name: 'Bella + Canvas',
free_shipping_threshold: 200,
shipping_fees: {
fastest: 9.95,
standard: 0.00,
economy: 5.45
},
discount_coupon_allowed: false,