osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

matching product cross-sell with easy populate

This is a discussion on matching product cross-sell with easy populate within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi, i have been using these contributions Matching Products Cross-Sell: osCommerce Community Add-Ons Support thread: MATCHING PRODUCTS CROSS-SELL - osCommerce ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Reply

 

LinkBack Thread Tools
  #1  
Old 04-25-2009, 05:40 PM
New Member
 
Join Date: Sep 2008
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
nahi_sonu is on a distinguished road
Default matching product cross-sell with easy populate

Hi,
i have been using these contributions

Matching Products Cross-Sell: osCommerce Community Add-Ons
Support thread: MATCHING PRODUCTS CROSS-SELL - osCommerce Community Support Forums

EasyPopulate: osCommerce Community Add-Ons
Support thread: Easy Populate & Products Attributes - osCommerce Community Support Forums


the matching product cross-sell create SKUs for all the product but when i export the CSV file from easypopulate it does NOT have sku field in it.. is there any way to add it.
so whenever we use exporting thru easypopulate it automatically gets product_ids from cross-sell contr and adds it to the export file??
i really need this asap.
please help me here guys.. im not too good with coding.. but i pick things easily.
thanks in advance.
bye
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 04-26-2009, 01:54 AM
pgmarshall's Avatar
osCMax Development Team
 
Join Date: Feb 2009
Location: London
Posts: 951
Thanks: 59
Thanked 192 Times in 165 Posts
Rep Power: 11
pgmarshall is a splendid one to beholdpgmarshall is a splendid one to beholdpgmarshall is a splendid one to beholdpgmarshall is a splendid one to beholdpgmarshall is a splendid one to beholdpgmarshall is a splendid one to beholdpgmarshall is a splendid one to beholdpgmarshall is a splendid one to behold
Smile Re: matching product cross-sell with easy populate

Hi nahi_sonu,

Your first mod stores the new SKUs in the products table ...

So if you read the easypopulate.php code there are instructions in there to explain how to add new fields to your csv files. Look around line 250 ...

Quote:
// ** products table **
// Lets say you have added a field to your "products" table called
// "products_upc". The header name in your import file will be
// called "v_products_upc". Then below you will change the line
// that looks like this (without the comment double-slash at the beginning):
// $custom_fields[TABLE_PRODUCTS] = array(); // this line is used if you
have no custom fields to import/export
//
// TO:
// $custom_fields[TABLE_PRODUCTS] = array( 'products_upc' => 'UPC' );
So you need to find the line 300

Code:
$custom_fields[TABLE_PRODUCTS] = array(); // this line is used if you have no custom fields to import/export
and change it to

Code:
$custom_fields[TABLE_PRODUCTS] = array( 'products_matching' => 'Matching_SKUs' );
It is always worth checking in the code for help ...

Hope this works for you - REMEMBER TO BACKUP BEFORE CHANGING ANYTHING.

Regards,
__________________
pgmarshall
_______________________________
Test Site: www.cottonbarn.info
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 04-26-2009, 07:21 AM
New Member
 
Join Date: Sep 2008
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
nahi_sonu is on a distinguished road
Default Re: matching product cross-sell with easy populate

Hi,
thanks for the reply.. right after posting this thread i was testing few settings in easy populate and was able to get it working..
it was to change the

// $custom_fields[TABLE_PRODUCTS] = array( 'products_upc' => 'UPC' );

to

$custom_fields[TABLE_PRODUCTS] = array( 'products_id' => 'SKU' );


tc
bbye
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 04-26-2009, 08:39 AM
pgmarshall's Avatar
osCMax Development Team
 
Join Date: Feb 2009
Location: London
Posts: 951
Thanks: 59
Thanked 192 Times in 165 Posts
Rep Power: 11
pgmarshall is a splendid one to beholdpgmarshall is a splendid one to beholdpgmarshall is a splendid one to beholdpgmarshall is a splendid one to beholdpgmarshall is a splendid one to beholdpgmarshall is a splendid one to beholdpgmarshall is a splendid one to beholdpgmarshall is a splendid one to behold
Smile Re: matching product cross-sell with easy populate

nahi_sonu,

I think you may need to use

products_matching not products_id

otherwise you will just get the products_id not the ones you have linked to using the mod - might be wrong since I do not use this mod.

Glad you got it working,

Regards,
__________________
pgmarshall
_______________________________
Test Site: www.cottonbarn.info
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 07-04-2009, 07:15 AM
New Member
 
Join Date: Sep 2008
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
nahi_sonu is on a distinguished road
Default Re: matching product cross-sell with easy populate

hey pgmarshall,
the solution i mentioned above worked. as the contribution for cross sell uses products_id not products_matching.
so
Quote:
// $custom_fields[TABLE_PRODUCTS] = array( 'products_upc' => 'UPC' );

to

$custom_fields[TABLE_PRODUCTS] = array( 'products_id' => 'SKU' );
works like a charm.

Resolved thread needs to be closed
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Matching Products Cross-sell michael_s New osCommerce Contributions 0 10-28-2007 12:00 PM
Matching Products Cross-sell michael_s New osCommerce Contributions 0 08-27-2007 11:30 AM
Matching Products Cross-sell michael_s New osCommerce Contributions 0 08-09-2007 11:15 AM
Fast Easy Cross-Sell michael_s New osCommerce Contributions 0 07-23-2007 04:24 AM
Fast Easy Cross-Sell michael_s New osCommerce Contributions 0 07-20-2007 07:28 AM


All times are GMT -8. The time now is 06:52 AM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design