Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

EasyPopulate and SeparatePricing


Guest

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

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.
Note: Your post will require moderator approval before it will be visible.

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...