Jump to content
Sign in to follow this  
pinhead

EasyPopulate and SeparatePricing

Recommended Posts

i'm on 2.2ms2 with separate pricing 3.5 and i thought i'd load easypopulate2.72 to get attrib upload/download functionality

 

all excellent modules BTW and thanks to all concerned - the problem i'm having is one of coexistence

 

easypopulate2.72 appears to have broken the separate pricing upload/download i was enjoying with 2.62 - i hacked about and seem to have download functionality back again (see diff - my mods vs admin/eaypopulate.php.original) but upload of attribs is still broken

 

if you have the same problem an answer to the download problem is in the diff.

 

i don't appear to be getting beyond VJs while statement duing an upload

 

while (isset($$v_attribute_options_id_var) && !empty($$v_attribute_options_id_var)) {

 

which is where ALL the attrib upload code lives ?

 

hoping someone familiar with easypoulate could explain it to me - i haven't got my head around th $$ thing at all

 

the log file shows what happens in an upload

 

if anyone is working on this and needs a tester or collaborator pls let me know especially separate pricing for attributes and/or attrib upload with easypopulate

 

thanks in advance

 

diff easypopulate.php easypopulate.php.hacked

21,22c21,22
< $tempdir = "/catalog/temp/";
< $tempdir2 = "/catalog/temp/";
---
> $tempdir = "/gallery/temp/";
> $tempdir2 = "/gallery/temp/";
280c280
<       // now lop off the trailing tab
---
>       // now Lop off the trailing tab
920d919
<               // uncomment the customer_price and customer_group to
support multi-price per product contrib
929c928,936
<                       );
---
>                         'v_customer_price_1'          => $iii++,
>                       'v_customer_group_id_1'         => $iii++,
>                       #'v_customer_price_2'           => $iii++,
>                       #'v_customer_group_id_2'                => $iii++,
>                       #'v_customer_price_3'           => $iii++,
>                       #'v_customer_group_id_3'                => $iii++,
>                       #'v_customer_price_4'           => $iii++,
>                       #'v_customer_group_id_4'                => $iii++,
>                         );
971c978
<
---
> // uncomment the customer_price and customer_group to support multi-price
per product contrib
1017,1018c1024,1025
<                       #'v_customer_price_1'           => $iii++,
<                       #'v_customer_group_id_1'                => $iii++,
---
>                       'v_customer_price_1'            => $iii++,
>                       'v_customer_group_id_1'         => $iii++,
1923a1931,1932
>                         error_log("$v_attribute_options_id_var", 0);
>                       error_log("$$v_attribute_options_id_var", 0);
1926a1936,1937
>                                 error_log("VJs remove loop", 0);
>                                 error_log("$$v_attribute_options_id_var",
>                                 0);1981c1992
<
---
>                                 error_log("$v_attribute_values_id_var", 0);
1987a1999
>                                         error_log("iVJs value table update
loop", 0);
2004a2017
>
error_log("pov2po loop", 0);
2081a2095
>

 

php log for an upload

 

[06-Feb-2004 23:08:46] $v_attribute_options_id_1
[06-Feb-2004 23:08:46] v_attribute_options_id_1
[06-Feb-2004 23:08:46] $v_attribute_options_id_1
[06-Feb-2004 23:08:46] v_attribute_options_id_1
[06-Feb-2004 23:08:46] $v_attribute_options_id_1
[06-Feb-2004 23:08:46] v_attribute_options_id_1
[06-Feb-2004 23:08:46] $v_attribute_options_id_1
[06-Feb-2004 23:08:46] v_attribute_options_id_1
[06-Feb-2004 23:08:46] $v_attribute_options_id_1
[06-Feb-2004 23:08:46] v_attribute_options_id_1
[06-Feb-2004 23:08:46] $v_attribute_options_id_1

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  

×