Example #1
0
from shopify import Shopify

WEB_NAME = 'drinkhydrant'  # Website name
DISPLAY_NAME = 'Hydrant - Health and Wellness'
cats = ['']
cat_names = []
imgs = []
shipping = 'Hydrant purchases come with free Standard Shipping, which is 3-5 Business Days. Expedited shipping is also available, which is 2-3 Business Days. Unfortunately, we don’t ship on Saturdays or Sundays. We offer a 30 day money back guarantee on our hydration mixes - if you are unhappy with your purchase for some reason, please let us know within 30 days at: [email protected]'
note = 'New brand'

brand = Shopify(WEB_NAME, DISPLAY_NAME, cats, shipping, note)
brand.url = [
    'https://www.' + WEB_NAME + '.com', '/products.json?limit=250&page='
]
brand.link = brand.url[0] + '/'
brand.run()
brand.write_csv()
brand.write_info()
# brand.post_collections(cat_names, imgs)
Example #2
0
from shopify import Shopify

WEB_NAME = 'oliversapparel'  # Website name
DISPLAY_NAME = 'Olivers - Apparel'
cats = ['pants', 'shorts', 'tees', 'midlayers']
cat_names = ['Pants', 'Shorts', 'Tees', 'Midlayers']
imgs = [
    'https://drive.google.com/uc?export=download&id=104eiNGMRfsjWNc2_9jnodeZ7-bNQZzH_',
    'https://drive.google.com/uc?export=download&id=1cTN_jwT4NY00W9n-qhzpJolKd36AX1WT',
    'https://drive.google.com/uc?export=download&id=1TEa_UunjI7UEYjDDYNb3lEiow7Wl2-ck',
    'https://drive.google.com/uc?export=download&id=18Nh1OdKJqjzwGfkkjOGfh_vxwMNf04Zb',
    'https://drive.google.com/uc?export=download&id=16_8qxPlSGWu2an-s2VODdJIdO9zoDFeM'
]
shipping = ' We offer returns using our label for an $8 fee deducted from your refund, or you can return using your own carrier or a refund to store credit for no charge. Returns and exchanges must be received in original, unused and unwashed condition. All returns must be postmarked within 60 days from order date to be eligible for a return.'
note = 'New brand'

brand = Shopify(WEB_NAME, DISPLAY_NAME, cats, shipping, note)
brand.url = [
    'https://shop.' + WEB_NAME + '.com/collections/',
    '/products.json?limit=250&page='
]
brand.run()
brand.write_csv()
brand.write_info()
# brand.post_collections(cat_names, imgs)
Example #3
0
from shopify import Shopify

NAME = 'w-co'
DISPLAY_NAME = 'W Co. - Apparel'
cats = ['new-releases', 'outerwear', 't-shirts', 'accessories']
cat_names = ['New Releases', 'Outerwear', 'T-Shirts', 'Accessories']
shipping = 'FREE SHIPPING ON ORDERS OVER $100 — FREE RETURNS — FREE EXCHANGES'.lower(
)
note = 'Final upload'

brand = Shopify(NAME, DISPLAY_NAME, cats, shipping, note)
brand.url = [
    'https://' + NAME + '.us/collections/', '/products.json?limit=250&page='
]
brand.link = brand.url[0].split('collections')[0]
brand.run()
brand.write_csv()
brand.write_info()
# brand.post_collections(cat_names)