Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Easy Populate 2.78 With Sppc + Price Breaks


adz1976

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 :-)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...