Jump to content

chewb

Members
  • Content count

    9
  • Joined

  • Last visited

Profile Information

  • Real Name
    Olivier
  1. chewb

    Custom Product Builder

    It IS fixed ! Many thanks !!
  2. chewb

    Custom Product Builder

    Well, I imagined to add images when your mouse is over the link, but there is a fact: I am not a programmer: I even don't understand bjfreeman's post ... But anyone that would understand a little bit more php/sql could easily do it. I'ill try to see ...
  3. chewb

    Custom Product Builder

    Finally, I searched and found myself how to integrate the links to the components in the component list, when the build is done (single build mode). Here is how the modifications if somenone is interested: Please, should the author of the contribution validate my code because i am far far far away from a programmer. In the file catalog/builder_product_info.php LINE 169 FIND : $products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "'"); EDIT: I don't know what happens with the 'wrap in code tags' but you should read the code in one line (remove returns) REPLACE WITH: $products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pov.catalog_products_id from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "'"); EDIT: I don't know what happens with the 'wrap in code tags' but you should read the code in one line (remove returns) LINE 173 FIND $component_id = $products_options['products_options_values_id']; REPLACE WITH: $component_id = $products_options['products_options_values_id']; $componentcat_id = $products_options['catalog_products_id']; LINE 178 FIND <td class="main"><?php echo $component_name; ?></td> REPLACE WITH: <td class="main"><a href='<?php echo tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $componentcat_id, 'NONSSL', true, false); ?>' onclick="java script:window.open(this.href,'poupupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,re sizable=yes,copyhistory=no,width=600,height=600,screenX=150,screenY=150,top=150, l eft=150');return(false);"><?php echo $component_name; ?></a></td> EDIT: I don't know what happens with the 'wrap in code tags' but you should read 'javascript' in one word and 'left' too (remove returns)
  4. chewb

    Custom Product Builder

    This contribution is greatfull. I would like to add url links to the components in the builder_product_info. Could someone help me to do this ?
  5. chewb

    Custom Product Builder

    I noticed a strange thing: The builder is fully working only when the link to the builder, on your index, has the osCid infos in the link (is that session id ?) for example, when your mouse is over the link to the builder: catalog/builder_main.php won't work --> Return to index catalog/builder_main.php?osCsid=645f382713b2d176ad58c13103165db6 will work --> get in cart As I don't plan to let my customer build machines with this contribution, only by me, it is not a problem for me.
  6. chewb

    Custom Product Builder

    Another thing I resolve (for me): I could not select any product for my "monitors" popup component selection because I used the " symbol in place of the inchs text.
  7. chewb

    Custom Product Builder

    Still using Firefox, I reproduced your 'Loading - please wait' message (forever)' when I named a component with a '. Like with have in french in the Operanting System translating: Système d'exploitation. Just deleting the ' symbol from the component name, (still restarting all firefox, of course) make disappear the 'Loading - please wait' message (forever). and get your fully working cpb.
  8. chewb

    Custom Product Builder

    I've got it to reproduce it on Firefox: After disabling Java within Firefox (Tools / Modules Menu), restarting Firefox, I could get the cart filling from the builder. If I discard the cart then retry a new build, the return to index comes back: I have to close firefox then restart it to get the filled cart from the builder. I hope this will help.
  9. chewb

    Custom Product Builder

    Hi everyone, I've just found a strange thing about the cart button that return to index. I could not use the contribution because of the return to index issue after pushing the Ad to cart buton. (using Firefox) After, I tried with IE6.0 that gives me the results in the cart. I thought I found wher to find the mistake: but I never could reproduce it.
×