In Nopcommerce Can I Import products but putting categories names instead of Id? - nopcommerce

When you want to import products, using excel, you have to provide the Id for some fields like product Type..is there a plugin or something else to use the product type name instead of the Id ?

No. The only way to import is to include ID values. You can find appropriate ID values of enums in source code

Related

how to get list of admin column name in wordpress

I am developing a custom WordPress plugin so I need to retrieve the list of all column in to my plugin file can anyone help me to how I get the list of below column.
in my case how I get list like.
I need a list like
author, title, Tags, categories, Date, Short code

WooCommerce - Import CSV of Products as Drafts

Using the WooCommerce product importer im trying to import products as Drafts instead of Published. I want the ability to go in and fine-tune product details before they are live on website for customers to see.
Create a column called Published and set values in each row as 0 under neath that column. Here is sample data https://github.com/woocommerce/woocommerce/blob/master/sample-data/sample_products.csv

WooCommerce Import Products with Subcategories?

I have a csv file I'm trying to import into WooCommerce that contains about 500 products. I have a Category column and a SubCategory column. However, I only see one "Categories" field to map to in WooCommerce. For example, how can I import products that have a category of Widgets and also a SubCategory of Objects? I'd like to maintain the category and subcategory hierarchy.
Thanks!
So to import categories using the Woocommerce CSV importer, you must use the following syntax for sub-categries:
Main Category > Sub Category1 > Sub category2
So for your example, the "Categories" column in CSV would look like:
Widgets > Objects
Change your csv to include this format in the "Categories" column of the Woocommerce CSV file and you will see all your Main and sub categories reflected in your store!
To import categories and sub-categories in WooCommerce you will need to use a comma (,) to separate multiple categories. There are two ways to maintain the hierarchy of categories in WooCommerce:
Add all the categories in 1 single column with a comma (,) separated values. For example: Category One, Category Two, Category Three. Once the import is completed go to the category section in the WooCommerce section and move the categories to create the hierarchy.
Or, you can first create all the categories in the WooCommerce category section maintaining all the hierarchy and then use those categories in the CSV file column with a comma (,) separated value.
There are many free plugins available using which you can import CSV. Once of which is: https://wordpress.org/plugins/import-export-for-woocommerce/

Import attributes using CSV with woocommerce

I am importing bulk products via Woocommerce using a .csv file.
Everything works as it should apart from the attribute I am trying to upload.
I am uploading the brand name as an attribute. I currently have the following on my .csv:
Header = attribute:brand
Value = "brand name"
I am not sure if this correct, but even if it is, I'm unsure which fields to map them to?
Thanks in advance.
I am assuming you are using WooCommerce import that comes with the default install.
All the documentation is old on this so some of the column headers are bad. At least from my experience. I exported a variable product I made to get the correct column headers.
For attributes you need these columns:
Attribute 1 name | Attribute 1 value(s) | Attribute 1 visible | Attribute 1 global
size | Small, Medium | 0 or 1 | 0 or 1|
You also need to import the parent items first with the column header "type" and the value as "variable"
The next import is the variations which have a "type" of variation
these are two .csv files that I used. if you copy the row headers I believe they have all the values currently used by the importer
http://www.midnighthtml.com/uploads/Final_Swim_225.csv
http://www.midnighthtml.com/uploads/Final_Swim_Child_225.csv
Not Sure how you are importing via Woocommerce its self?
1.maybe you need a specific keyword rather the "attribute:brand" ( or you can define a different reference)
2.check that all the ranges in the csv are readable by woo-commerce
otherwise try looking for a plugin called 'all Import' works fantastic

Selecting data in Firebase

Saw the Firebase / Angular video you did and immediately got very excited about the project I have just started. One thing I am struggling to get my head around is how to select data at sub-levels. What I mean is: say I had something like this:
How can I select all records with the agent 'agent_1' and/or records with the box_id greater than 600 (plus other fields) without creating lots of indexes for each search term? I don't really want to download all the data to the client and then loop through the records as there will eventually be a lot of data.
Eventually, the app should be able to filter data on different fields simultaneously. For example, I would have a select box for agents, which may return all the agent_1 records. Then I would add the filter 'all boxes with id > 600' and then perhaps 'box weight > 24kg' etc.
It seems from what I have read, this is only possible by having an id field for each record, and then an index dataset for each field one would like to search against. This is simple enough for one field. However, I guess the only way to filter the data with further fields would be to get the ids on the next index dataset and do the filtering on the client.
Am I right in this approach? It seems quite long-winded.
What would be awesome would be to be able to do this:
https://xxxxx.firebaseio.com/boxes/?agent=agent_1/?box_id>600
Just a thought! :-)
Thanks!
first Import angular like following
import { AngularFireDatabase } from "angularfire2/database";
also import in app.module.ts
secondly inject database into your constructor an like
constructor(private database:AngularFireDatabase ){
const rootRef = database.database.ref();
var data= rootRef.child("boxes").orderByChild("agent").equalTo("agent_3")
}

Resources