Soetomboz Web-based Solutions

 
Home Behind the Scenes Virtuemart CSV Uploader

Virtuemart CSV Uploader

Ini adalah Joomla Components pertama yang saya buat, karena permintaan klien untuk menginput data ke dalam Virtuemart component. Jujur harus saya akui bahwa saya adalah orang yang malas untuk menginput data. Mungkin tidak jadi masalah jika data yang diinput hanya 20-30, tetapi akan menjadi masalah besar jika data yang harus diinput berjumlah ratusan atau ribuan items. Dapat saya bayangkan jika saya menginput satu per satu, pasti terdapat banyak kesalahan karena human error :)

virtuemart csv uploader

Sebenarnya bukan ide saya untuk membuat komponen ini, saya hanya melanjutkan pekerjaan teman saya. Menyederhanakan kode, menambahkan fasilitas dan konfigurasi, serta meningkatkan kemampuan kode sehingga terciptalah Virtuemart CSV UploaderActually, this is not my idea, I just continue the work of my friend. Adding facilities, summarize, improve the code and so on, so as  Component. Sesuai namanya, komponen ini hanya bekerja di backend Joomla dan tidak diperlukan di frontend Joomla.

Dengan component ini, data CSV beserta gambar dikompresi menjadi file zip yang selanjutnya diupload melalui form sederhana yang telah tersedia (lihat gambar diatas), lalu tekan tombol "Upload Zip File". Lalu... data beserta gambar akan teratur dengan rapi ke dalam database Virtuemart. Kehandalan dalam kesederhanaan :)

CSV Info

  1. CATEGORY *: Product Category.
  2. SUB-CATEGORY: Product Sub-category (if any).
  3. SKU *: Product stock keeping unit (SKU), must unique code.
  4. PRODUCT ID: Parent SKU, must unique code, alpha-numeric only. Required if STATE is not 0 (null). Parent and child products have same PRODUCT ID.
  5. STATE *: 0 = single product (no parent, no child). 1 = parent product. 2 = child product.
  6. PUBLISH *: 0 = unpublished. 1 = published.
  7. TITLE *: Product title.
  8. PARENT TITLE: Parent product title. Required if STATE is not 0 (null). Parent and child products have same PARENT TITLE.
  9. VARIAN: Product attribute. Required if STATE is not 0 (null). Every attributes (if multiple) separated by vertical bar (|). Attribute name and attribute value separated by colon (:)
    Example 1 (single attribute): "Color:Red" (without quote)
    Example 2 (multiple attribute): "Color:Red|Size:Big" (without quote)
  10. WEIGHT: Unit of measure, numeric only. Required for product which use shipping option.
  11. LENGTH: Unit of measure, numeric only.
  12. WIDTH: Unit of measure, numeric only.
  13. HEIGHT: Unit of measure, numeric only.
  14. BASE PRICE *: Price without additional surcharge (tax, packing, handling etc).
  15. SHORT DESCRIPTION: Product short description. Required if STATE is not 2 (two). 255 character max.
  16. DESCRIPTION: Product description. Required if STATE is not 2 (two).
  17. RELATED PRODUCT: Related product SKU, separated by vertical bar (|).
  18. QUANTITY: Product in stock, numeric only.

Configuration

  1. Image Size: big image size, width x height (in pixel).
  2. Thumbnail Size: thumbnail image size, width x height (in pixel).
  3. Image Location: product images location, please check your virtuemart configuration.
  4. Currency Code: 3 character currency code, all capital.
  5. Weight UOM: weight unit of measure (grams, kilograms, pound).
  6. LWH UOM: length, width & height unit of measure (mm, cm, inch).
  7. Tax Rate ID: product tax ID, please check your virtuemart tax rate setting.
  8. Product Unit: piece, box, etc.
  9. Child Option: select 'One Add to Cart Button' or 'Add to Cart Button for each Child'.
  10. Category Browse Page: please check your virtuemart product category setting.
  11. Category Flypage: please check your virtuemart product category setting.
  12. Products per Row: show x products per row.

Mohon dipahami bahwa CSV adalah singkatan dari Comma-Separated Values, yang berarti pemenggalan data values berdasarkan keberadaan comma. Untuk itu, anda tidak diperbolehkan menggunakan comma dalam data fields atau data menjadi berantakan. More CSV Information

Download sample data! Are you interested with Virtuemart CSV Uploader component? Please contact us.

 

Share this website

Guest Online

We have 11 guests online