Extension - Add Custom Fields To Products For OpenCart 1.5.X

Extension Filter

Search

Categories

License

Version

Currency

Add Custom Fields To Products For OpenCart 1.5.X

Add Custom Fields To Products For OpenCart 1.5.X
Store Front forum screenshot admin page
Extension Name Add Custom Fields To Products For OpenCart 1.5.X Rating 1 2 3 4 5
License Free Votes 5
Developer JIM2Y Views 50361
Date Added 4 August 2011 Downloads 5048
Date Modified 15 April 2012 Request Support
Report extension
=====Add Custom Field To Products OpenCart 1.5.1=====

Original version: http://www.opencart.com/forum/viewtopic.php?f=22&t=36625 by heizo
You can see the details in there!

####** I'm just sharing my needs. We should thank heizo! **####


*** This is for OpenCart 1.5.1 , 1.5.1.1(Tested) ***


How to install: VQMOD PLEASE SKIP THIS PART!!!!!!

Step1:
Add a field named "SIZE" to the product table at you MySql.
SQL CODE:
ALTER TABLE `product` ADD `size` VARCHAR( 255 ) NOT NULL AFTER `model` ;

Step2:
Upload the file to your server. **PLEASE BACKUP YOUR ORIGINAL FILE BEFORE UPLOADED**

Step3:
You can add the size fields to product page in your template.
FOR EXAMPLE:
<?php echo $text_size; ?></span> <?php echo $size; ?>

Enjoy!~

WHICH FILE CHANGED?
admin\controller\catalog\product.php
\language\english\catalog\product.php
\model\catalog\product.php
\view\template\catalog\product_form.tpl

catalog\controller\product\product.php
\language\english\product\product.php
\model\catalog\product.php

All change places with the "ADD/EDIT BY JIMMY CUSTOM FIELD (SIZE)" to identify.

You can according to your need add / edit the fields!

==========================================================================================
VQMOD: untest!!!~
Step1:
You need install VQMOD First.

Step2:
Add a field named "SIZE" to the product table at you MySql.
SQL CODE:

ALTER TABLE `product` ADD `size` VARCHAR( 255 ) NOT NULL AFTER `model` ;

Step3:
upload Custom Field - Size.xml to vqmod/xml/

done!


==========================================================================================
Change Log:
THIS MOD WON'T UPDATE! BECAUSE HAVE SOME ANOTHER EXTENSION HERE, THIS MOD IS FOR DIY MODIFIED STUDY ONLY.
20110927: FIXED SOMETHING VQMOD CODE!~
20110926: Add the xml file for vqmod.
20110806:
Fix before file not official original file(V1.5.1.1). = Thank you for "okmarket - David" let me know.
Download Name Compatibility Action
customer field v1.5.1, v1.5.1.1, v1.5.1.2 [ Download ]
Custom Field - Size (vqmod) 1.0.2 v1.5.1, v1.5.1.1, v1.5.1.2 [ Download ]

Tags =====Add, Custom, Field, To, Products, OpenCart, 1.5.1===== Original, version:, http://www.opencart.com/forum/vi, by, heizo You, can, see, the, details, in, there! ####**, I'm, just, sharing, my, needs., We, should, thank, heizo!, **#### ***, This, is, for, OpenCart, 1.5.1, , , 1.5.1.1(Tested), *** How, to, install:, , VQMOD, PLEASE, SKIP, THIS, PART!!!!!! Step1:, Add, a, field, named, "SIZE", to, the, product, table, at, you, MySql. SQL, CODE: ALTER, TABLE, , `product`, ADD, , `size`, VARCHAR(, 255, ), NOT, NULL, AFTER, , `model`, ; Step2:, Upload, the, file, to, your, server., **PLEASE, BACKUP, YOUR, ORIGINAL, FILE, BEFORE, UPLOADED** Step3:, You, can, add, the, size, fields, to, product, page, in, your, template., , , , , FOR, EXAMPLE: <?php, echo, $text_size;, ?></span>, <?php, echo, $size;, ?> Enjoy!~, WHICH, FILE, CHANGED? admin\controller\catal, , , , , \language\english\catalog\produc, , , , , \model\cat

Hosted by Arvixe Web Hosting