I have a csv that has some products in different currencies (usd and mxn). I'm thinking about adding a custom attribute and modify the price based on that attribute, in order to show only in mxn.
Are there any recommendations or alternatives for this case?
I believe that creating an "Exchange Rate" attribute and a "Common Currency" attribute related to the previous one will do the job.
PD: Since you are using a CSV, please check the decimal separator before creating it.
I hope this guides you,
Regards,
Related
I import a huge amount of goods. Each already has custom attributes. How can I use them to filter products in a storefront? I cannot manually create such a huge number of attributes and assign them to each of the goods. Perhaps there is some kind of plugin?
P.S. I know that such a question already exists here, but it was asked back in 2013 and since then much has changed.
Waiting for help!
Thanks.
I am having a curious problem in Drupal 7, related to Taxonomy translation.
I am using a taxonomy vocabulary whose terms are localized. In order to differ taxonomy terms from one another (so the term names can all have different names), I am using an extra field called "Display Name". Since I have to show the names of the taxonomy terms and some of them have the same name (and I already had problems with that), I opted for using this extra field. And I found out that I can enable translation for this field only, through an option named "Enable Translation" in field settings.
Then, I have translated these terms using this option named "Enable Translation". I found that it is a batch operation that is activated when you enable it, allowing you to set up translated terms via the interface provided by Taxonomy.
However, after updating the website, I found out that my terms using this "Display Name" field disappeared. And I can't seem to find the problem... It doesn't seem like something is missing in my feature but, since it is a batch operation, it will only be effective in the environment this batch is executed, right?
Maybe this already happened to someone else but, after a thorough research, I have found no valuable information about it. I appreciate any help you may provide!
I would like to create a data entry form in Drupal 7 that is similar to Filemaker's List View. List View is a view that contains many records on a page. When Submit button is clicked, data entered in the fields will be assigned to the individual records.
For example, I have a list of students' names and a column field of grade type. The student's name will be created from Drupal View's filtering, but the grade field will be empty waiting for me to key in.
What is the proper Drupal's module that can enable this functionality? Or what can I do to create this functionality.
This approach is closer to your original request, im testing this out now and I think it should more than do the trick, much more interestingly too.
http://drupal.org/project/slickgrid
Edit:
I highly recommend trying this its awesome!!
A couple quick tips
Be sure to also install http://drupal.org/project/title so you can reset the title (make it a field), Basically with this editor you can only edit actual fields, so same goes for location module, you'll need to use the field option rather than node option.
One possible downer, at least for my site, it appears the drupal module does not support jquery 1.7 which my site uses, so a few buttons etc don't work as expected, also the drupal module does not support the latest slickgrid release either. I'd like to look into fixing that but I dont have the time just yet, possibly someone will before long. If jquery 1.7 is not required for your site then none of that will be a problem for you.
I just figured how to do something similar, although I went about it a different way then I think would be the most desirable, at any rate what I did works perfectly for me at the moment.
What I did...
Used a google docs spreadsheet for data entry, exported a CSV file, then used Feeds module to Import and Map it to my desired content type. I was even able to get location, taxonomy & image fields to map.
Modules & Stuff Used...
Feeds http://drupal.org/project/feeds which also includes Feeds
Importer, you'll want to read through all the instructions to be sure
you understand the import methodology, I could never explain it all
here!
Feeds Tamper http://drupal.org/project/feeds_tamper , I used this to
explode the cell which had a | separated | list of taxonomy terms (dont use comma), the
nice side effect is if the term doesn't exist it creates it for you!
Spreadsheet - Personally I created a Google Docs Spreadsheet, any type
will do. This spreadsheet has every field you want to map to fields
in your content type.
"More Better"
Currently I am on the hunt for a simple backend UI way to do this, but this is what I've settled on for now. I just couldn't imagine hand entering hundreds of nodes, page submit after page submit! I will post back if I figure another way to do it. Good luck!
I have just started with
https://www.drupal.org/project/editableviews
which enables the creation of views where all the fields are editable, including when no data exists in the related entity. At the first url is also documentation.
There a screencast which shows more
https://www.youtube.com/watch?v=g_D4z4Bw6iw
I am working on a directory site based on Wordpress and I need to import categories and members from an existing website. WordPress currently has an importer tool that is said to allow imports of categories...but it's in the WXR format.
From my understanding, a WXR is a XML file, but I'm not sure the exact format to use for the category and member imports (if that is even possible).
I searched different sources for a solution to this but couldn't find anything.
I have over 70 categories and over 600 business members to import. I would appreciate any advice on importing multiple categories & members into WordPress.
Thanks a lot
I found a solution to import multiple categories. I used the WordPress export and exported all the information from my site (posts, categories, ect). Then I carefully looked through the xml file and found the type of data I wanted to import (which was categories). So once I found the categories and its format, I removed everything else in between the ... tags, after the file details (titles, link, description, pubDate, generator, ect).
The category format is:
<wp:category><wp:category_nicename>"This is the Slug name" (no quotes</wp:category_nicename><wp:category_parent>"This is the parent name, optional" (no quotes)</wp:category_parent><wp:cat_name><![CDATA["This is the Category name" (no quotes)]]></wp:cat_name></wp:category>
You would create as many of this example as you need and just change the required information for the import. I think this strategy can also be used for other data to import. You would just have to examine the structure of the data in the original xml exported file and basically copy what you see.
Im still open to other techniques to import data. I hope this helps someone with importing needs.
I'm adding additional languages to a Drupal site that I'm building.
Getting the translation of content working is fairly easy using the Internationalisation module.
Yet, simple things such as date strings, i.e. day, month and year aren't translated.
I would expect simple things like this to be some of the first things to be translated.
Am I missing something?
For text to be translated, each module needs to pass display text through a specific function (named 't()') which allows the text to be translatable.
It's likely that some module writers are better at doing this consistently than others.
I found the solution to this in the end.
It came down to knowing what to search for in the translate interface admin section.
I was looking to translate month names into different languages and so search for strings matching 'November'. This always came up with nothing.
It truned out that I need to search for 'month'. This then allowed my to add translations for all of the month names and also other date related translations.
Very frustrating the effort required to find that out!