Beispiel #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)
Beispiel #2
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)