Store Information not getting saved in Virtuemart
If you are using Virtuemart and trying to enter data into your Store Information Tab , but whenever you click on SAVE or APPLY, the data just doesnt get saved. Its frustrating, I know, since I wasted like whole day looking into this problem. Then finally realized that, vm_vendor table data is required for that page form data to get saved. So, here is what I did to fix the problem.
Goto phpmyadmin and browse to jos_vm_vendor database table. It wont have any data. So, now you need to feed the data into it by running the SQL Query.
So, just click on SQL tab in phpmyadmin and enter this below query and thats it,
Â
-- phpMyAdmin SQL Dump
-- version 3.2.0.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: May 25, 2010 at 05:35 AM
-- Server version: 5.1.36
-- PHP Version: 5.2.9-2
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
--
-- Database: `meso2`
--
-- --------------------------------------------------------
--
-- Table structure for table `jos_vm_vendor`
--
CREATE TABLE IF NOT EXISTS `jos_vm_vendor` (
`vendor_id` int(11) NOT NULL AUTO_INCREMENT,
`vendor_name` varchar(64) DEFAULT NULL,
`contact_last_name` varchar(32) NOT NULL DEFAULT '',
`contact_first_name` varchar(32) NOT NULL DEFAULT '',
`contact_middle_name` varchar(32) DEFAULT NULL,
`contact_title` varchar(32) DEFAULT NULL,
`contact_phone_1` varchar(32) NOT NULL DEFAULT '',
`contact_phone_2` varchar(32) DEFAULT NULL,
`contact_fax` varchar(32) DEFAULT NULL,
`contact_email` varchar(255) DEFAULT NULL,
`vendor_phone` varchar(32) DEFAULT NULL,
`vendor_address_1` varchar(64) NOT NULL DEFAULT '',
`vendor_address_2` varchar(64) DEFAULT NULL,
`vendor_city` varchar(32) NOT NULL DEFAULT '',
`vendor_state` varchar(32) NOT NULL DEFAULT '',
`vendor_country` varchar(32) NOT NULL DEFAULT 'US',
`vendor_zip` varchar(32) NOT NULL DEFAULT '',
`vendor_store_name` varchar(128) NOT NULL DEFAULT '',
`vendor_store_desc` text,
`vendor_category_id` int(11) DEFAULT NULL,
`vendor_thumb_image` varchar(255) DEFAULT NULL,
`vendor_full_image` varchar(255) DEFAULT NULL,
`vendor_currency` varchar(16) DEFAULT NULL,
`cdate` int(11) DEFAULT NULL,
`mdate` int(11) DEFAULT NULL,
`vendor_image_path` varchar(255) DEFAULT NULL,
`vendor_terms_of_service` text NOT NULL,
`vendor_url` varchar(255) NOT NULL DEFAULT '',
`vendor_min_pov` decimal(10,2) DEFAULT NULL,
`vendor_freeshipping` decimal(10,2) NOT NULL DEFAULT '0.00',
`vendor_currency_display_style` varchar(64) NOT NULL DEFAULT '',
`vendor_accepted_currencies` text NOT NULL,
`vendor_address_format` text NOT NULL,
`vendor_date_format` varchar(255) NOT NULL,
PRIMARY KEY (`vendor_id`),
KEY `idx_vendor_name` (`vendor_name`),
KEY `idx_vendor_category_id` (`vendor_category_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Vendors manage their products in your store' AUTO_INCREMENT=2 ;
--
-- Dumping data for table `jos_vm_vendor`
--
INSERT INTO `jos_vm_vendor` (`vendor_id`, `vendor_name`, `contact_last_name`, `contact_first_name`, `contact_middle_name`, `contact_title`, `contact_phone_1`, `contact_phone_2`, `contact_fax`, `contact_email`, `vendor_phone`, `vendor_address_1`, `vendor_address_2`, `vendor_city`, `vendor_state`, `vendor_country`, `vendor_zip`, `vendor_store_name`, `vendor_store_desc`, `vendor_category_id`, `vendor_thumb_image`, `vendor_full_image`, `vendor_currency`, `cdate`, `mdate`, `vendor_image_path`, `vendor_terms_of_service`, `vendor_url`, `vendor_min_pov`, `vendor_freeshipping`, `vendor_currency_display_style`, `vendor_accepted_currencies`, `vendor_address_format`, `vendor_date_format`) VALUES
(1, 'Washupito''s Tiendita', 'Owner', 'Demo', 'Store', 'Mr.', '555-555-1212', '555-555-1212', '555-555-1212', ' This e-mail address is being protected from spambots. You need JavaScript enabled to view it ', '555-555-1212', '100 Washupito Avenue, N.W.', '', 'Lake Forest', 'CA', 'USA', '92630', 'Washupito''s Tiendita', 'We have the best tools for do-it-yourselfers. Check us out!
\r\nWe were established in 1969 in a time when getting good tools was expensive, but the quality was good. Now that only a select few of those authentic tools survive, we have dedicated this store to bringing the experience alive for collectors and master mechanics everywhere.
\r\nYou can easily find products selecting the category you would like to browse above.
', 0, '', 'c19970d6f2970cb0d1b13bea3af3144a.gif', 'USD', 950302468, 968309845, 'shop_image/', 'You haven''t configured any terms of service yet. Click here to change this text.', 'http://10.0.0.101/ja_works', '0.00', '0.00', '1|$|2|.| |2|1', 'USD', '{storename}\n{address_1}\n{address_2}\n{city}, {zip}', '%A, %d %B %Y %H:%M');
Â





joomlaservices
joomlaservices
394295112
joomlaservices
+91-9853790816
joomlaservices

Comments