PDA

View Full Version : Easy Populate & Products Attributes



michael_s
04-09-2007, 07:00 PM
I have tried install Easy Populate 2.76d-MS2 (with attributes) with SPPC v414 but seems that it doesn't work. (keep prompt me about extra column when activiated SPPC with EP) After some time, I discovered an extra field will be inserted into database if SPPC module activiated.(at least in my version.)

To let whole thing works, it should have following changes in easypopulate.php:

around line 2302-2341,
REPLACE
------------------------
INSERT INTO '.TABLE_PRODUCTS_GROUPS.'
VALUES
(
' . $v_customer_group_id_1 . ',
' . $v_customer_price_1 . ',
' . $v_products_id . ',
' . $v_products_price .'
)'
);
------------------
WITH
------------------

INSERT INTO '.TABLE_PRODUCTS_GROUPS.'
VALUES
(
' . $v_customer_group_id_1 . ',
' . $v_customer_price_1 . ',
' . $v_products_id . '
)'
);
--------------------------------

if you have X group, then delete all $v_products_price in X group within the SPPC module of EP.

p.s. not a complete package, download file include these text.

Mystic

More... (http://www.oscommerce.com/community/contributions,500)