Posts

how to add more than 100 varient of a product in shopify -

i have 175 variant of product, shopify shows warning can not add more 100 variants product. how can resolve problem? you can't. that's restriction shopify products. won't able add more 100 variants a single product. however, trying model? if there's not change of price, example, you're selling t-shirts , color of t-shirt doesn't correlate change of price, can model using line item properties . you can collect customization information products using line item properties. line item properties let customers add information product when add cart. example, can let customer specify text monogram or engraving on product. you can make own dropdown sets line item value of color, name example. more information on official tutorial here . if need 175 different prices, should split on 2 products , set template custom template manipulate things accordingly. please notice, have negative impact on seo if not handled properly.

Is it possible to create an Azure CDN with Azure Files Storage? -

all documentation talks azure blob storage used cdn. unfortunately azure web portal doesn't allow me upload "blobs" blob storage. on other side can files storage type . however wasn't able access files storage through cdn endpoint. not supported? do need use blob storage , upload files programmatically? we can access azure file storage via smb or rest api. if want use anonymous http access, suggest choose azure blob storage. if want use cdn in azure file storage. think need write web application , access files via rest api. need connect cdn web application.

Simple MySql Select Queries are slow in C# but fast in MySql Workbench -

i don't have experience mysql, 1 of clients have asked hook thier mysql database. designed simplest query ever, basic select statement follows: select dateandtime, conveyor_belt_weight_theoretical_max_value conveyor_belt dateandtime >= '2016-08-19 01:51:40' , dateandtime < '2016-08-19opcsystems_to_air_airopcsystems_to_air_system_air_system 14:45:36' order dateandtime limit 1000 in visual studio code, connect mysql follows: datatable _dt = new datatable(); using (var cmd = this.mysqlconn.createcommand()) { if (this.mysqlconn.state != connectionstate.open) this.mysqlconn.open(); cmd.commandtext = sqlquery; using (mysqldatareader results = cmd.executereader()) { if (!results.read()) return null; _dt.columns.clear(); (int = 0; < results.fieldcount; i++) { _dt.columns.add(results.getname(i)); } _dt.load(results); } } return _dt; i feed exact same query procedure...

osx - Swift: How to not load AppDelegate during Tests -

i have os x application on startup loads data server , pushes notifications nsusernotificationcenter . have problem happens during unit tests. found no way yet prevent this. of course stub http loads. in cases want test loading , notifications sent anyway. what i'm trying make test runs not load appdelegate fake 1 i'm using tests. found several examples [1] on how uiapplicationmain , can pass specific appdelegate class name. same not possible nsapplicationmain [2]. what i've tried following: removed @nsapplicationmain appdelegate.swift , added main.swift following content: class fakeappdelegate: nsobject, nsapplicationdelegate { } nsapplication.sharedapplication() nsapp.delegate = fakeappdelegate() nsapplicationmain(process.argc, process.unsafeargv) this code runs before tests has no effect @ all. i might have say: appdelegate empty. handle mainmenu.xib stuff made separate view controller actual loading , notification stuff in awakefromnib . [1] http:...

c# - Outlook Add-in 2010 -

i have created add -in outlook using outlook add-in 2010, want work same in outlook 2007 , outlook 2013 in outlook 2013. created ribbon , custom menu, these functionalities working fine in outlook 2010. in outlook 2007 ribbons not getting displayed(even add in tag not visible) menu working fine , in outlook 2013, menu not displayed ribbon working fine. is there compatibility issues while using outlook add-in 2010? i used visual studio 2010 (.net framework 4). please provide solution this. i need write outlook add-in supported in 2007/2010/2013.

javascript - `npm run jshint` results in `missing script: jshint` -

i'm trying jshint few javascript files, reason local npm install of jshint isn't working. the package there: $ npm list --depth=0 testapp@1.0.0 /users/me/workspace/testapp └── jshint@2.9.3 and error following: $ npm run jshint npm err! darwin 15.4.0 npm err! argv "/usr/local/cellar/node/5.6.0/bin/node" "/usr/local/bin/npm" "run" "jshint" npm err! node v5.6.0 npm err! npm v3.6.0 npm err! missing script: jshint npm err! npm err! if need help, may report error at: npm err! <https://github.com/npm/npm/issues> npm err! please include following file support request: npm err! /users/me/workspace/testapp/npm-debug.log i can work around global install, i'd prefer have working locally. according the documentation npm run alias npm run-script , runs 1 of scripts in package.json file. if add jshint script entry package.json , should run locally-installed jshint : { "name": ..., ...

symfony - Symfony2 How to upload files Product->getPicture() on new record return null -

i try use symfony2 bundle vichuploaderbundle. when use record saved in database , request product->getpicture() receive uploaded file information. when try create it $product = new product(); $product->getpicture() i null object , can not upload files. product class. /** * @orm\entity(repositoryclass="crelabs\bundle\productbundle\entity\productrepository") * @orm\table(name="product") */ class product { use ormbehaviors\translatable\translatable; /** * @orm\id * @orm\column(type="integer") * @orm\generatedvalue(strategy="auto") */ protected $id; /** * @orm\column(type="string", length=20, nullable=true) */ protected $sku; /** * @orm\column(type="float", scale=2) */ protected $price; /** * @orm\column(type="float", scale=2, nullable=true) */ protected $msrp_price; /** * @orm\column(type="string...