Jump to content
Sign in to follow this  
adz1976

Easy Populate 2.78 With Sppc + Price Breaks

Recommended Posts

Hi

 

MY SETUP

 

OSC MS2

SQLv5.0

SPPC v4.1 + Price Breaks v1.0 for SPPC v4.1

EP2.78 + SPPC + Price Breaks

 

What I would like to do:

 

Upload just 1 customer at a time through Easy Populate with their special prices

rather than having to upload all customers at the same time.

 

I have Easy Populate 2.78 With Sppc + Price Breaks, I can download & upload the SPPC with price breaks fine but

just wondering what I would have to change in the easypopulate.php file for it to allow me to upload a certain customer ?

 

i.e.

 

At the minute I have 5 customers.

Instead of me having to upload all 5 customer prices everytime, I would like to upload customer 3's prices only.

 

The reason why I just want to work with 1 customers prices at a time it is gets very complicated,

as each group contains the following fields.

 

*v_products_model* - Model is just at the start of fields for reference with EP

 

v_customer_price_1

v_customer_group_id_1

v_products_price1_1

v_products_price2_1

v_products_price3_1

v_products_price4_1

v_products_price5_1

v_products_price6_1

v_products_price7_1

v_products_price8_1

v_products_price1_qty_1

v_products_price2_qty_1

v_products_price3_qty_1

v_products_price4_qty_1

v_products_price5_qty_1

v_products_price6_qty_1

v_products_price7_qty_1

v_products_price8_qty_1

v_products_qty_blocks_1

 

v_customer_price_2

v_customer_group_id_2

v_products_price1_2

and so on.......

 

I have tried to upload a file with v_products_model + customer 3 fields.

The prices change for customer 3 but it wipes out the other customer prices. 1,2,4 & 5.

 

It is overwriting the fields even though I have not included them in the uploaded file.

 

Is there anyway around this problem ?

 

I presume its just an amendment I need to do in the easypopulate.php file but I don't know what to change.

 

Anyone have any good ideas, I really hope you do :-)

 

Here is a link to the easypopulate.php file I rekon needs changing,

The contrib is: EP with SPPC and Price Break (it just contains the easypopulate.php file)

 

http://www.oscommerce.com/community/contri...earch,sppc+2.78

 

Many thanks

 

Adam :-)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×