Jump to content

TENCENTS

Members
  • Content count

    179
  • Joined

  • Last visited

About TENCENTS

  • Birthday 09/02/1965

Profile Information

  • Real Name
    Mike
  • Gender
    Male
  • Location
    Cape Town, ZA
  • Interests
    Electronics, Mechanics, Technical Stuff, Pyrotechnics, Space, UFOs, Free Energy.
  • Website
  1. beti.rabiaa@hotmail.com

    Hello.

    My Name is Betty Rabia i was impressed when i saw your profile at oscommerce.com and l will like you to email me back to my in box so that i can send you my picture for you to know who i am .i belive we can establish a long lasting relationship with you.In addition,i will like you to reply me through my private email box (beti.rabiaa@hotmail.com) This is...

  2. TENCENTS

    Custom Product Builder

    I have posted a small upgrade in the downloads - version 1.1.1. (upgrade/fixes) This is an urgent update as it addresses some issues with the builder not totalling up which was caused by incorrect handling the decimal point and decimal places. Also, prioritization of stripping and rebuilding currency formats now allows the thousands point separator and decimal point separator to be identical. Included with the upgrade is a consolidation of all the forum-posted-fixes (here) since version 1.1.0 was released (SEO URLs issue excluded).
  3. TENCENTS

    Custom Product Builder

    I thought I'd nailed this one good and solid but it seems that using anything other than a comma for the thousands separator stops the builder from totalling up. I'll be back.
  4. TENCENTS

    Custom Product Builder

    Excellent, thank you.
  5. TENCENTS

    Custom Product Builder

    I was worried about SEO contribs before I fixed the 'return to index page' issue, but not anymore - I wouldn't rule SEO out though. If you've done a print preview you'll probably notice that it'll also generate a new osCsid. Try these changes: WARNING!! (to other members) - DO NOT APPLY THESE CHANGES UNLESS YOU ARE TRYING TO FIX EXACTLY THE SAME PROBLEM - If your builder is working perfectly then these changes will break that. ##### Edit /catalog/includes/modules/builder_main.php ## FIND: var urltemp="<?php echo tep_href_link(FILENAME_BUILDER, 'action=add_products');?>"; ## REPLACE WITH: var urltemp="<?php echo tep_href_link(FILENAME_BUILDER, 'action=add_products','NONSSL',false);?>"; ## FIND: form.action="<?php echo tep_href_link(FILENAME_BUILDER_PRINT_PREVIEW);?>"; ## REPLACE WITH: form.action="<?php echo tep_href_link(FILENAME_BUILDER_PRINT_PREVIEW, '', 'NONSSL',false);?>"; ## FIND: form.action="<?php echo tep_href_link(FILENAME_BUILDER);?>"; ## REPLACE WITH: form.action="<?php echo tep_href_link(FILENAME_BUILDER, '', 'NONSSL',false);?>"; ##### Edit /catalog/builder_main.php ## FIND: tep_redirect(tep_href_link(FILENAME_BUILDER_PRODUCT_INFO, 'products_id=' . $products_id)); ## REPLACE WITH: tep_redirect(tep_href_link(FILENAME_BUILDER_PRODUCT_INFO, 'products_id=' . $products_id, 'NONSSL', false)); ## FIND: (NB: If you haven't installed 1.1.0 yet then remove this from the following lines: , enctype="multipart/form-data" ) <td width="100%" valign="top"><?php echo tep_draw_form('mainform', tep_href_link(FILENAME_BUILDER, tep_get_all_get_params(array('action')) . 'action=add_products'), 'post', 'enctype="multipart/form-data"');?><table border="0" width="100%" cellspacing="0" cellpadding="0"> ## REPLACE WITH: <td width="100%" valign="top"><?php echo tep_draw_form('mainform', tep_href_link(FILENAME_BUILDER, tep_get_all_get_params(array('action'), 'NONSSL', false) . 'action=add_products'), 'post', 'enctype="multipart/form-data"');?><table border="0" width="100%" cellspacing="0" cellpadding="0"> ## Done! I've blanket-bombed it. Please make sure you've got a backup.
  6. TENCENTS

    Custom Product Builder

    Sorry Mat, the penny has just dropped... yes you're quite right, the product images themselves would look pretty odd.
  7. TENCENTS

    Custom Product Builder

    I doubt it, still looking into this though. Did you have any trouble with the installation? At some stage we did run into problems with the post_vars in php5 and this was the type of trouble it was causing. You might find that version 1.1.0 works fine, if not then let me know.
  8. TENCENTS

    Custom Product Builder

    Great! Okay, I've tested it and everything seems to be working fine with the cart. You don't maybe have the builder in 'bundle' mode? If so then have a look in the builder options for 'Bundled Mode: Clear cart Before Carting' and make sure it's set to No. If not then we have a genuine problem albeit isolated. I assume you're still running the latest xampp (P5/M5) and RC2a, with register globals off?, have you tried this with other browsers?, and have you got any other contribs installed that would affect the shopping cart and/or checkout processes?
  9. TENCENTS

    Custom Product Builder

    1. If you had a css type background colour or image set (eg. background:#xxxxxx; or background-image: <imagefile>;) for the area that you're displaying the overall image then the background should come through the transparencies - you would want something contrasting though, like a grey with thin yellow lines running through it - a solid colour would be confusing. My curiosity is killing me so I'm gonna be playing around with this sometime today. 2. I see that your thousands point separator is a period (.) - shouldn't it be a comma (,) instead? The builder relies on the fact that the thousands separator is different to the decimal point, so if you're using a period for thousands then using a comma for the decimal would work properly - if you made them both commas then I think it'll cause the same trouble.
  10. TENCENTS

    Custom Product Builder

    Hi Mat - thanks!. Okay now I see - I'll look into this a bit later. BTW, that extra decimal point should be a thousands separator symbol, is your currency setup for one? It's not a criteria I'm just curious. An 'overall image' in the print preview would be quite easy if all your product/component images were GIF or PNG - they would be special images and they would take you a bit of time to produce (in something like PhotoShop). Using the GIF/PNG transparency feature you can erase certain parts of the image, so for the t-shirt 'body' images you would erase the sleeves (maybe leave just an outline), and for the 'sleeves' images erase the body area. When you lay any sleeve image over a body image (or vica versa) the image you will see is a complete t-shirt. Then in builder_print_preview.php (and even builder_product_info.php) you would create a place to display the 'overall image', it would then be a trick of getting the component images to display ontop of each other in the 'overall image' location. I dunno if the 'trick' is easy though, I've never tried it before. I might not write it for you but I will certainly consider implementing something like this at some stage - it just makes the contrib more awesome.
  11. TENCENTS

    Custom Product Builder

    I found something, try this... BUGFIX - MySQL legality issue - fix error when creating tables for first time -------------------------------------------------------------------------------------- Edit /catalog/admin/builder_options.php ## FIND: tep_db_query("ALTER TABLE " . TABLE_PRODUCTS_OPTIONS_VALUES . " ADD COLUMN `catalog_products_id` int(11) NULL"); ## REPLACE WITH: tep_db_query("ALTER TABLE " . TABLE_PRODUCTS_OPTIONS_VALUES . " ADD COLUMN `catalog_products_id` int(11) DEFAULT NULL"); ## Done!
  12. TENCENTS

    Custom Product Builder

    Hi. Up until now the builder has been using a modified add_product 'switch' (in application_top.php as you mentioned), in the new version 1.1.0 the original add_product switch has been restored and the builder now uses it's own, add_build. If you've tried the builder in Bundle mode and it works properly then 1.1.0 should sort the problem out.
  13. TENCENTS

    Custom Product Builder

    Spot on.. SPPC installs do have this affect on the builder. In future there will be a release for SPPC mainly because I need it to be that way, but not now, that's a hectic mod. As for attributes, well, support for that will be coming much sooner. At the moment I think the builder takes the default attribute, ie. the first one that shows up if you're viewing it in the product_info page.
  14. TENCENTS

    Custom Product Builder

    The "tax_info" contrib modifies the display_price function in /catalog/includes/classes/currencies.php, the builder uses this function too. There are two ways around this - create a new class function, oh maybe builder_price or something - get a copy of the original (osC) display_price function and paste that somewhere in the currencies.php file, remember to rename the function. Then search all the builder php files for '$currencies->display_price' and replace them with '$currencies->builder_price'. I had a look at the tax_info contrib history and saw that there have been various fixes for files that were forgotten - like product_listing.php for example. I'm sure the changes involved would be similar - you would then need to modify the builder files wherever they use the display_price function in a similar way so that they incorporate the tax_info contrib - and I think this is what you want/need. If you still have problems let me know which tax_info contrib you've got; 19-Jul-08 Tax info 1.0 or 14-May-05 tax_info1.3 contrieb for SPPC
  15. TENCENTS

    Custom Product Builder

    Well spotted! BUGFIX - Component total weight when using quantity > 1 Edit /catalog/builder_main.php ## FIND: $products_weight = $products_weight + $products['products_weight']; ## REPLACE WITH: $products_weight = $products_weight + ($products['products_weight'] * $components_quantity[$i]); ## Done!
×