Adding photos to magento ecommerce site - magento-1.4

I have recently been assigned the project of reviving our old magento site, which is for a bookstore, version 1.4.1.1. The first order of business that I need to do is to update the inventory on the site, which has about 95,000 items. What is the best way to do this? My inventory is all in a mysql database currently.
Secondly, I need to upload pictures for all of the entries, is there a way/ place that I can specify a base url for the picture, and then just add the specific location (ie bookpic.isbn.gif where the isbn will change based on the isbn of the book)?
I saw a previous post from over a year ago that listed good reference sites, where can I go for updated information?

Have a look on cutesave for an easy implementation and import for simple-products:
https://github.com/magento-hackathon/cutesave
https://github.com/magento-hackathon/cutesave/wiki/Cutesave-Tests
Good luck

Another solution I've used is a dataflow profile (Admin->System->Import/Export) to import products from a flat file. I exported the products from another database to a flat file, then used dataflow to import all products.
I referenced an article that talked about modifying the profile to add an extra step to the import process where it downloads the image from a supplied URL in the flat file and saves it to the media/import directory before it attempts to check the media/import directory to import an image for the product.

Related

Best way to migrate single project from Jira 5.0 to Jira 8?

I want to move a single project from a Jira 5.0 instance to a new Jira 8.0 instance being already used for other projects - so the process must not bring in configurations, workflows, etc. nor should alter existing projects.
I'm only interested in importing issues and related data:
title, description, etc (obviously)
attachments (images, files, whatever)
issue links
issue type (with mapping to new types in case they don't match)
... (other properties that I'm forgetting right now)
I've just started searching for the topic and already found several options - and it's not clear if they're all available to be, mosly due to the starting Jira version, they are:
Export to CSV and import to CSV
Export to XML
Import from JSON (though I've yet to find a JSON export)
Rest API
Import project from backup
... and surely others
Of course I'd like the most complete yet less error-prone method, though if resorting to the REST API will be the only way to be sure to import all I want, I'm ready to write a script / program.
So, what should I choose?
P.S.: I'm not sure if this fits this community, is there a more proper one?
The easiest way is to get csv export, get all attachments (jira_home/data/attachments). Then copy attachments to a new instance to jira_home/import. You'll need to edit export file to match names and paths of your attachments in order to import them successfully.
And last step is import csv to your Jira 8 instance.
I suggest trying this on dev/stage environment first because there are many small details that can affect import.
Some useful data is here:
https://confluence.atlassian.com/adminjiraserver/importing-data-from-csv-938847533.html

How to update several Downloadable Products and retain links for existing orders in 1.9

Each time a Downloadable Product has been updated, the system changes the file name from
dancing_happy_people.zip
to
dancing_happy_people_1.zip
and customers who have purchased the original zip are not able to access the updated version.
I went into the cPanel file manager and deleted the obsolete versions and renamed the files (removing the "_1" ) but it made quite a mess and removed download links altogether.
Is there any way to restore links for the downloads to the customers' orders?
Is there any way to update links and retain the link to the customers' orders?
Many grateful thanks for your consideration.

Scan directory for file names in MVC

I'm developing a MVC5 web app, hosted through azure, that lets you manage your movies (it's just for myself at the moment). I'm trying to find a way to scan a local folder on the users pc for a list of file names. I do realise the security/permissions issues I might run into. I do not need the file uploaded, only the full file name.
It would work by the user being able to select a folder where they store their movies and it will take in all the file names, including the ones in any sub directories.
I tried a multiple file upload form but quickly ran into issues with the max request limit which I tried messing around with but it proved redundant in the end. I can settle for the user selecting multiple files but would rather it done the directory way.
I know this might prove impossible in the end but any help would be greatly appreciated.

Drupal 7 - add metadata to file on upload

I want to let users fill some metadata information i have created while uploading files.
I use file entity and media module and i have created a few fields for the image file type. For instance some of the fields are : Location, category, Title etc.
I can see and complete those fields if i navigate to "admin/content/media". But i would like users to be able to view and fill those fields when they upload their images.
I can't find anything in permissions table for that or any other setting. Can someone give some light?
thank you in advance
I managed to find something that works. Actually, i downloaded the dev versions of media module (link) and file entity module (link). The new versions enable users to edit the custom fields when they upload new files.
Hope this information helps someone else too!

how can I open a sqlite file in ios for reading without copying to documents?

I got an app I'm working on that uses static data from a sqlite database to do various things, While I only need read only access to the database, depending on the episode they pick from the first screen I want it to use a different database file and I want the list of available episodes to be updateable on the fly. and I got help to get the list of available episodes updated, and the proper content downloaded and stored in separate folders, So I know I could when the episode is selected delete the sql file in the documents folder and copy in the new one each time and that would work well enough for what I'm trying to do. but it seems like a bit much extra work to have to check for file, delete file, copy in new one. then open it from there each time the user wants to pick a different episode. and I don't want to put all the sql files together as that will be a bigger hassle then the first route especially if this app stays around long enough to have a long list of episodes.
so my question here is: can I get at least read-only access to an sql file that I've downloaded (or one in the bundle for testing) with out having to first copy it to the documents? and if so how would i open the file?
Can I get at least read-only access to an SQL file that I've downloaded (or one in the bundle for testing) without having to first copy it to the documents directory?
Yes. Files in the app bundle are readable (if they weren't, there would be no point in storing files in the bundle).
And if so, how would I open the file?
It's not clear what you're asking here - if you want to perform SQL queries on the file, you should use the sqlite3 library which is available on iOS.

Resources