很抱歉发布现有问题,但我的问题与其他问题完全不同。
我的要求是,在结帐过程中,当客户选择印度作为国家/地区时,州/省列表将显示为下拉列表。但除了美国、德国、加拿大等少数国家外,没有显示州列表。
我更新了印度各州的以下两个表“directory_country_region”和“directory_country_region_name”。请检查以下查询——
NSERT INTO `directory_country_region` (`region_id`, `country_id`, `code`,
`default_name`) VALUES
(485, 'IN', 'ANDRA', 'Andra Pradesh'),
(486, 'IN', 'ARUNA', 'Arunachal Pradesh'),
(487, 'IN', 'ASSAM', 'Assam'),
(488, 'IN', 'BIHAR', 'Bihar'),
(489, 'IN', 'CHAND', 'Chandigarh'),
(490, 'IN', 'CHHAT', 'Chhattisgarh'),
(491, 'IN', 'DADAR', 'Dadar and Nagar Haveli'),
(492, 'IN', 'DAMAN', 'Daman and Diu'),
(493, 'IN', 'DELHI', 'Delhi'),
(494, 'IN', 'GOA', 'Goa'),
(495, 'IN', 'GUJAR', 'Gujarat'),
(496, 'IN', 'HARYA', 'Haryana'),
(497, 'IN', 'HP', 'Himachal Pradesh'),
(498, 'IN', 'JK', 'Jammu and Kashmir'),
(499, 'IN', 'JHARK', 'Jharkhand'),
(500, 'IN', 'KARNA', 'Karnataka'),
(501, 'IN', 'KERAL', 'Kerala'),
(502, 'IN', 'LAKSH', 'Lakshadeep'),
(503, 'IN', 'MP', 'Madya Pradesh'),
(504, 'IN', 'MAHAR', 'Maharashtra'),
(505, 'IN', 'MANIP', 'Manipur'),
(506, 'IN', 'MEGHA', 'Meghalaya'),
(507, 'IN', 'MIZOR', 'Mizoram'),
(508, 'IN', 'NAGAL', 'Nagaland'),
(510, 'IN', 'ORISS', 'Orissa'),
(511, 'IN', 'PONDI', 'Pondicherry'),
(512, 'IN', 'PUNJA', 'Punjab'),
(513, 'IN', 'RAJAS', 'Rajasthan'),
(514, 'IN', 'SIKKI', 'Sikkim'),
(515, 'IN', 'TAMIL', 'Tamil Nadu'),
(516, 'IN', 'TAMIL', 'Tripura'),
(517, 'IN', 'UP', 'Uttar Pradesh'),
(518, 'IN', 'UTTAR', 'Uttaranchal'),
(519, 'IN', 'WB', 'West Bengal');
另一个是——
INSERT INTO `directory_country_region_name` (`locale`, `region_id`, `name`) VALUES
('en_US',485,'Andra Pradesh'),
('en_US',486,'Arunachal Pradesh'),
('en_US',487,'Assam'),
('en_US',488,'Bihar'),
('en_US',489,'Chandigarh'),
('en_US',490,'Chhattisgarh'),
('en_US',491,'Dadar and Nagar Haveli'),
('en_US',492,'Daman and Diu'),
('en_US',493,'Delhi'),
('en_US',494,'Goa'),
('en_US',495,'Gujarat'),
('en_US',496,'Haryana'),
('en_US',497,'Himachal Pradesh'),
('en_US',498,'Jammu and Kashmir'),
('en_US',499,'Jharkhand'),
('en_US',500,'Karnataka'),
('en_US',501,'Kerala'),
('en_US',502,'Lakshadeep'),
('en_US',503,'Madya Pradesh'),
('en_US',504,'Maharashtra'),
('en_US',505,'Manipur'),
('en_US',506,'Meghalaya'),
('en_US',507,'Mizoram'),
('en_US',508,'Nagaland'),
('en_US',510,'Orissa'),
('en_US',511,'Pondicherry'),
('en_US',512,'Punjab'),
('en_US',513,'Rajasthan'),
('en_US',514,'Sikkim'),
('en_US',515,'Tamil Nadu'),
('en_US',516,'Tripura'),
('en_US',517,'Uttar Pradesh'),
('en_US',518,'Uttaranchal'),
('en_US',519,'West Bengal');
虽然我用印度各州更新了这两个表,但结帐期间的账单信息中都没有显示任何州,也没有任何其他地方(如编辑客户地址)。请帮忙。