Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

meulenb

Archived
  • Posts

    41
  • Joined

  • Last visited

Everything posted by meulenb

  1. I want to enable shipping options and limit these options to a single zone. The options - for example Flat Shipping - do allow this but when a specified zone is chosen, the shipping option doesn't appear anymore at checkout. what's been set up: 2 countries: Netherlands and Belgium 2 zones: BE with code BE and country Belgium and NL with code NL and country Netherlands 2 geo zones: country Belgium with zone BE and country Netherlands with zone NL I then register a new customer with country NL, fill the cart and at checkout the Flat Shipping doesn't appear!! If I then amend the options for Flat Shipping by setting Shipping Zone to none, the shipping option does appear at checkout. I'm completely in the dark here and simply can't grasp what the right setting is to apply or change. Help please??!!
  2. Sorry....I know this is getting a bit of a soap.... I now have succesfully installed working versions of the PDF Customer Invoice 1.2 and the PDF invoice for Admin. But...they're working with independant fpdf.php's (one in catalog, one in admin) and they both have their independant formats. Of course I can tweak one and not the other but that seems silly and a waste of work to me. Bottom line: how can I tweak admin/invoice.php so that it looks to the configuration settings of the PDF Customer Invoice (because that pdf now looks great!!)
  3. Ok, sorry, forget about it. My hosting co came back with another change in settings, issue seems to be sorted now!!
  4. Chris (or anybody...) I've managed to sort out the http issue with my hosting provider. the Admin invoice pdf now manages to open but immediately reports an error: the logo file can't be found. in admin/invoice.php it's defined as such: //Logo $this->Image('images/logo_email.png',5,10,50); this file path does exist within the catalog folder. Have tried to define the path in different ways but it keeps giving me the error.... I'm really lost now, combination of the pdf invoice.php together with fpdf doesn't seem to work at all my end.
  5. Hi Chris, some answers: Issue 1: nope, installed the contrib as is, according fpdf.php it's version 1.53. Most weird is that, by looking at the message, the system is trying to download the pdfinvoice.php file and not a pdf itself. But that's through the eyes of a fpdf newbie... Issue 2: it's the 500 one: (HTTP error - 500 - internal server error). I've now also detected that my domain log gives an error when trying to open the pdf: PHP Warning: require(fpdf/fpdf.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory and PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'fpdf/fpdf.php' (include_path='.:')
  6. Hi, PDF Customer Invoice v1.2 is working great from out of the customer history details screen. I'm having 2 wierd issues though and hopefully somebody can help me out: 1. If I set the Force Download to 'true' and click the pdf link, the pdf isn't downloaded but an errormessage appears in stead: "Can't find pdfinvoice.php from www.mydomain". When set to false, the pdf opens perfectly within the browser. 2. I've also installed the Admin invoice.php from contrib 3027. If I click on admin on the Invoice button of the order the new screen comes up but gives me a 500 - page not found error. Only reference to this I could find was to add [Header('Pragma: public');] to fpdf.php but that's already there by default so can't be the issue here. anybody some ideas? Thnx!
  7. I'm also having the stylesheet "challenge": no matter what I change in the stylesheetmail.css, fonts and colors don't change!
  8. Hi, since there doesn't seem to be a separate Topic for the Admin html e-mail contrib, I might as well try and post a question here. Is there an easy way to tweak the Admin e-mail in a way that, next to the combo of clients to select, an additional field is present where multiple e-mail addresses can be entered manually? Reason for asking is that I'm looking for an option to send newsletterish kind of mails to folks who are potentially interested but not a client yet (hm, I now realize that this is more or less the definition of spam but I just hope you catch my drift here!) Thanks!
  9. I've installed Admin HTML - great solutions in there by the way! - but still get the same result: preview looks allright, actual e-mail only displays the code. I'm a html newsletter newbie, can it be that the code is somewhat wrong? <p><style type="text/css"> .headerTop { background-color:#FFCC66; border-top:0px solid #DB016E; border-bottom:0px solid #FFFFFF; text-align:center; } .adminText { font-size:10px; color:#996600; line-height:200%; font-family:verdana; text-decoration:none; } .headerBar { background-color:#FFFFFF; border-top:0px solid #333333; border-bottom:0px solid #FFFFFF; } .title { font-size:20px; font-weight:bold; color:#583317; font-family:arial; line-height:110%; } .subTitle { font-size:11px; font-weight:normal; color:#666666; font-style:italic; font-family:arial; } td { font-size:12px; color:#000000; line-height:150%; font-family:trebuchet ms; } .sideColumn { background-color:#FFFFFF; border-left:1px dashed #CCCCCC; text-align:left; } .sideColumnText { font-size:11px; font-weight:normal; color:#999999; font-family:arial; line-height:150%; } .sideColumnTitle { font-size:15px; font-weight:bold; color:#333333; font-family:arial; line-height:150%; } .footerRow { background-color:#FFFFCC; border-top:10px solid #FFFFFF; } .footerText { font-size:10px; color:#996600; line-height:100%; font-family:verdana; } a { color:#FF6600; color:#FF6600; color:#FF6600; }</style> </p> <table cellspacing="0" cellpadding="10" width="100%" bgcolor="#ffffff" background="http://houseofespresso.nl/catalog/images/wood_BGnewbright.jpg"> <tbody> <tr> <td valign="top" align="center"> <table cellspacing="0" cellpadding="0" width="600"> <tbody> <tr> <td style="border-top: #000000 0px; border-bottom: #ffffff 1px solid; background-color: #ffcc66; text-align: center" align="center"> <span style="font-size: 10px; color: #996600; line-height: 200%; font-family: verdana; text-decoration: none">E-mail niet goed leesbaar? Bekijk 'm hier in je browser</span></td> </tr> <tr> <td style="border-top: #333333 0px; border-bottom: #ffffff 10px solid; background-color: #ffffff" valign="middle" align="left"><center><a href=""><img id="editableImg1" title="Your Company" alt="Your Company" align="center" border="0" src="http://houseofespresso.nl/catalog/images/logo_header_news.png" /></a></center></td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="20" width="600" bgcolor="#ffffff"> <tbody> <tr> <td style="font-size: 12px; color: #000000; line-height: 150%; font-family: trebuchet ms" valign="top" width="400" bgcolor="#ffffff"> <p><span style="font-weight: bold; font-size: 20px; color: #583317; line-height: 110%; font-family: arial">Welkom bij House of Espresso!</span><br /> </p> <p><span style="font-weight: normal; font-size: 11px; color: #666666; font-style: italic; font-family: arial">Hallo espresso-liefhebber,</span><br /> Recent psychological studies and brain scans have shown that tigers have naturally violent tendencies toward chimpanzees. "There's sort of a banana-envy thing going on, which makes the average tiger very self-conscious around chimpanzees" says Dr. Chimpfried Brown. Lorem ipsum dolor sit amet, <a href="#">consectetuer adipiscing elit</a>. Sed at erat. Phasellus condimentum. Nullam sed magna. Donec quis tellus in neque congue porttitor. Proin sit amet ligula id leo porta rutrum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In suscipit, pede a rutrum malesuada, lacus massa euismod neque, a hendrerit justo ante at eros. <a href="#">Clickitus heritus.</a></p> <p><span style="font-weight: bold; font-size: 20px; color: #cc6600; line-height: 110%; font-family: arial">Plantains vs. Bananas</span><br /> <span style="font-weight: normal; font-size: 11px; color: #666666; font-style: italic; font-family: arial">by Francine Chimperson</span><br /> Throwing a party? There's no better way to anger your dinner guests than by accidentally serving them plantains instead of bananas. Avoid the poo flinging with these handy guidelines. Plantains look like over ripe bananas, and must be cooked before eaten. Bananas are softer, and don't cook very well (they get mushy). In suscipit, pede a rutrum malesuada, lacus massa euismod neque <a href="#">Clickitus heritus.</a></p> </td> <td style="border-left: #cccccc 1px dashed; background-color: #ffffff; text-align: left" valign="top" width="200"><span style="font-weight: normal; font-size: 11px; color: #999999; line-height: 150%; font-family: arial"><span style="font-weight: bold; font-size: 15px; color: #333333; line-height: 150%; font-family: arial"> Grooming Tips:</span><br /> Tick picking novice? Lorem ipsum dolor sit amet, <a href="#">consectetuer adipiscing elit</a>. Sed at erat. Phasellus condimentum. Nullam sed magna. Donec quis tellus in neque congue porttitor. Proin sit amet ligula id leo porta rutrum. <br /> <br /> <span style="font-weight: bold; font-size: 15px; color: #333333; line-height: 150%; font-family: arial">Waterhole Dangers</span><br /> Watery oasis, or crocodilian cesspool from hell? As the dry season approaches, lorem ipsum dolor sit amet, <a href="#">consectetuer adipiscing elit</a>. Sed at erat. Phasellus condimentum. Nullam sed magna. Donec quis tellus in neque congue porttitor. Proin sit amet ligula id leo porta rutrum. </span></td> </tr> <tr> <td style="border-top: #ffffff 10px solid; background-color: #ffffcc" valign="top" colspan="2"> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <p> </p> I've also tried with a newsletter template of which I'm sure it's working 100% correct. Still get code only in the e-mail.
  10. Hi there, the FCK editor is doing a great job, also with the Newsletter HTML editor. An issue however: code and preview look more or less great in the admin panel (things that don't look great I will resolve, saw some posts here) but when sending the letter the received e-mail litterally displays the html code text, not the expected front end look. Yes, I've set "send mime html" to True anybody any idea what I'm missing??
  11. Hi there, after I've installed U html (yes after making a backup first) I've added many other contributions only to find out at the end that U html wouldn't work out for me. I've then executed an uninstall by putting original files back and crosschecking that no file had the "//--- Beginning of addition: Ultimate HTML Emails ---//" sections anymore. This has worked out fine for U html: everything related to it is gone in the Admin and I can use the 'normal' newsletter functions. The Bulkmailer is however still active somehwere: although it's removed from the configuration table, the code is still looking for it which leads to the following error when sending a letter: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BULKMAILER_LIMIT' at line 1 select customers_firstname, customers_lastname, customers_email_address from customers_temp limit BULKMAILER_LIMIT [TEP STOP] I do understand what the error means (a function is looking for the bulkmailer value in config table) but I can't seem to find which php file is still running the bulkmailer and therefore causing the issue. Many thanks for some help on this please!
  12. Issue resolved and not related to STS. for those interested: the general.php uses a function called Eval and many providers don't allow this function to be used under https. My provider had to specifically amend this for my OsCommerce installation to work.
  13. Hi there, I've browsed all topics and replies related to STS + SSL and although my conclusion is that STS can't / shouldn't have an impact on using SSL - if used correctly! - I just want to have fully confirmed this for 200% as I'm having definitely a weird thing going on and I'm quite desperate since nobody had a clue so far.... here we go: dedicated SSL has been installed on houseofespresso.nl and my provider has set it up as "http and https in one folder". I've enabled SSL on OsC according the 1-2-3 install guide on this forum. This is working great for some pages but not working for all chechout pages (shipping, payment, process). It's difficult to describe, but only few parts of the pages remain when on https, layout and formats are gone and large html-parts are simply not there anymore. To see the difference: first code is the full and correct one when using the page on http. Second is what I get when using the page on https. As example I've used the output of the checkout_shipping page. Many many thanks if someone could shine a light on this. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html dir="LTR" lang="nl"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>House of Espresso</title> <base href="http://www.houseofespresso.nl/catalog/"> <!-- start get_javascript(applicationtop2header) //--> <script language="javascript"><!-- var selected; function selectRowEffect(object, buttonSelect) { if (!selected) { if (document.getElementById) { selected = document.getElementById('defaultSelected'); } else { selected = document.all['defaultSelected']; } } if (selected) selected.className = 'moduleRow'; object.className = 'moduleRowSelected'; selected = object; // one button is not an array if (document.checkout_address.shipping[0]) { document.checkout_address.shipping[buttonSelect].checked=true; } else { document.checkout_address.shipping.checked=true; } } function rowOverEffect(object) { if (object.className == 'moduleRow') object.className = 'moduleRowOver'; } function rowOutEffect(object) { if (object.className == 'moduleRowOver') object.className = 'moduleRow'; } //--></script> <!-- end get_javascript(applicationtop2header) //--> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body> <table width="800" align="center" cellpadding="0" cellspacing="0" BGcolor="FFFFFF"> <tr> <td height="262" valign="top" colspan="2"><TABLE WIDTH=800 BORDER=0 CELLPADDING=0 CELLSPACING=0> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"> <a href="http://houseofespresso.nl/catalog/index.php"> <img border="0" src="images/logo_header.png"></td> </tr> </table> <table border="0" width="100%" height="40" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td class="headerNavigation"> <a href="http://www.houseofespresso.nl" class="headerNavigation">Hoofdpagina</a> » <a href="http://www.houseofespresso.nl/catalog/index.php" class="headerNavigation">Winkel</a> » <a href="http://www.houseofespresso.nl/catalog/checkout_shipping.php" class="headerNavigation">Afrekenen</a> » <a href="http://www.houseofespresso.nl/catalog/checkout_shipping.php" class="headerNavigation">Verzendmethode</a> </td> <td align="right" class="headerNavigation"> <a href=http://www.houseofespresso.nl/catalog/account.php class="headerNavigation">Je klantgegevens</a> | <a href=http://www.houseofespresso.nl/catalog/logoff.php class="headerNavigation">Uitloggen</a> | <a href=http://www.houseofespresso.nl/catalog/shopping_cart.php class="headerNavigation">Bekijk winkelwagen</a> | <a href=http://www.houseofespresso.nl/catalog/checkout_shipping.php class="headerNavigation">Afrekenen</a> </td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="left-column" valign="top" width="125"> <table border="0" width="125" cellspacing="0" cellpadding="0"> <a href="http://houseofespresso.nl/catalog/index.php?cPath=1"> <img border="0" src="images/btn_serving.gif"></a> <a href="http://houseofespresso.nl/catalog/index.php?cPath=2"> <img border="0" src="images/btn_machines.gif"></a> <a href="http://houseofespresso.nl/catalog/index.php?cPath=3"> <img border="0" src="images/btn_chocola.gif"></a> <a href="http://houseofespresso.nl/catalog/index.php?cPath=21"> <img border="0" src="images/btn_kopjes.gif"></a> <a href="http://houseofespresso.nl/catalog/index.php?cPath=24"> <img border="0" src="images/btn_likeuren.gif"></a> <a href="http://houseofespresso.nl/catalog/index.php?cPath=22"> <img border="0" src="images/btn_onderhoud.gif"></a> <p> </p> <a href="http://houseofespresso.nl/catalog/zakelijk.php"> <img border="0" src="images/zakelijk.gif"></a> <p> </p> <a href="http://houseofespresso.nl/catalog/servinginfo.php"> <img border="0" src="images/btn_servinginfo.gif"></a> <a href="http://houseofespresso.nl/catalog/makingoff.php"> <img border="0" src="images/btn_makingoff.gif"></a> </table> </td> <td class="main-content" valign="top"> <table border="0" width="600" cellspacing="0" cellpadding="0"> <p> <!-- start Default Content //--> <form name="checkout_address" action="http://www.houseofespresso.nl/catalog/checkout_shipping.php" method="post"> <input type="hidden" name="action" value="process"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading">Verzendinformatie</td> <td class="pageHeading" align="right"></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b>Verzendadres</b></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> <td class="main" width="50%" valign="top">Selecteer uit uw adresboek waar de bestelling afgeleverd moet worden.<br><br> <a href="http://www.houseofespresso.nl/catalog/checkout_shipping_address.php"> <img src="includes/languages/dutch/images/buttons/button_change_address.gif" border="0" alt="Adres veranderen" title=" Adres veranderen " width="119" height="29"></a></td> <td align="right" width="50%" valign="top"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main" align="center" valign="top"><b>Verzendadres:</b><br><img src="images/arrow_south_east.gif" border="0" alt="" width="50" height="31"></td> <td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> <td class="main" valign="top">Bart van Meulenbroek<br> Sw79a<br> Utrecht, 3511vk<br> Netherlands</td> <td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b>Verzendmethode</b></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> <td class="main" width="100%" colspan="2">Beschikbare verzendmethode(n).</td> <td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> <td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> <td class="main" colspan="3"><b>Vast tarief</b> </td> <td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> </tr> <tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, 0)"> <td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> <td class="main" width="75%">Best Way</td> <td class="main" align="right" colspan="2">€5,00<input type="hidden" name="shipping" value="flat_flat"></td> <td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> </tr> </table></td> <td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b>Opmerkingen bij uw bestelling</b></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><textarea name="comments" wrap="soft" cols="60" rows="5"></textarea></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> <td class="main"><b>Ga verder met afrekenen</b><br>om de gewenste betaalwijze te selecteren.</td> <td class="main" align="right"><input type="image" src="includes/languages/dutch/images/buttons/button_continue.gif" border="0" alt="Volgende" title=" Volgende "></td> <td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="50%" align="right"><img src="images/checkout_bullet.gif" border="0" alt="" width="11" height="11"></td> <td width="50%"><img src="images/pixel_silver.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table></td> <td width="25%"><img src="images/pixel_silver.gif" border="0" alt="" width="100%" height="1"></td> <td width="25%"><img src="images/pixel_silver.gif" border="0" alt="" width="100%" height="1"></td> <td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><img src="images/pixel_silver.gif" border="0" alt="" width="100%" height="1"></td> <td width="50%"><img src="images/pixel_silver.gif" border="0" alt="" width="1" height="5"></td> </tr> </table></td> </tr> <tr> <td align="center" width="25%" class="checkoutBarCurrent">Verzendinformatie</td> <td align="center" width="25%" class="checkoutBarTo">Betaalinformatie</td> <td align="center" width="25%" class="checkoutBarTo">Bevestiging</td> <td align="center" width="25%" class="checkoutBarTo">Gereed!</td> </tr> </table></td> </tr> </table></form> <!-- end Default Content //--> </p> <p> </p> </td> <td class="right-column" valign="top" width="125"> <table border="0" width="125" cellspacing="0" cellpadding="2"> <tr><td> <!-- start cartbox //--> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111"> <tr> <td width="11"> <td background="images/infobox_03.gif" class="infoBoxHeading" width="1728"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="100%" class="infoBoxHeading">Winkelwagen</td> </tr> </table> </td> <td width="92" style="background-repeat: norepeat" bgcolor="583317"> <a href="http://www.houseofespresso.nl/catalog/shopping_cart.php"> <img src="images/infobox/arrow_right.gif" border="0" alt="Meer" title=" Meer " width="12" height="10"></a></td> <td width="11" background="images/infobox_04.gif" style="background-repeat: norepeat"> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" style="border-collapse: collapse" bordercolor="#111111"> <tr> <td bgcolor="#FFFFFF"> </td> <td bgcolor="#FFFFFF" src="images/boxbackgroundwood.png"><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText"><table border="0" width="100%" cellspacing="0" cellpadding="0"><tr> <td align="right" valign="top" class="infoBoxContents"><span class="infoBoxContents">1 x </span></td> <td valign="top" class="infoBoxContents"> <a href="http://www.houseofespresso.nl/catalog/product_info.php?products_id=28"> <span class="infoBoxContents">Caffe New York - 18st</span></a></td></tr></table></td> </tr> <tr> <td class="boxText"><img src="images/pixel_black.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td align="right" class="boxText">€6,43</td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> <td> </td> </tr> <tr> <td width="30"> </td> <td width="100%"> </td> <td width="31"> </td> </tr> </table> <!-- end cartbox //--> </td></tr> <tr><td> <!-- start orderhistorybox //--> <!-- end orderhistorybox //--> </td></tr> <tr><td> <!-- start bestsellersbox_only //--> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111"> <tr> <td width="11"> <td background="images/infobox_03.gif" class="infoBoxHeading" width="1728"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="100%" class="infoBoxHeading">Meest verkocht</td> </tr> </table> </td> <td width="92" style="background-repeat: norepeat" bgcolor="583317"></td> <td width="11" background="images/infobox_04.gif" style="background-repeat: norepeat"> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" style="border-collapse: collapse" bordercolor="#111111"> <tr> <td bgcolor="#FFFFFF"> </td> <td bgcolor="#FFFFFF" src="images/boxbackgroundwood.png"> <table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText"><table border="0" width="100%" cellspacing="0" cellpadding="1"><tr> <td class="infoBoxContents" valign="top">01.</td><td class="infoBoxContents"> <a href="http://www.houseofespresso.nl/catalog/product_info.php?products_id=29">Illy Normaal</a> </td></tr><tr><td class="infoBoxContents" valign="top">02.</td><td class="infoBoxContents"> <a href="http://www.houseofespresso.nl/catalog/product_info.php?products_id=28">Caffe New York - 18st</a> </td></tr><tr><td class="infoBoxContents" valign="top">03.</td><td class="infoBoxContents"> <a href="http://www.houseofespresso.nl/catalog/product_info.php?products_id=30">Illy Caffeïne vrij</a> </td></tr><tr><td class="infoBoxContents" valign="top">04.</td><td class="infoBoxContents"> <a href="http://www.houseofespresso.nl/catalog/product_info.php?products_id=32">Illy normaal monodose</a> </td></tr></table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> <td> </td> </tr> <tr> <td width="30"> </td> <td width="100%"> </td> <td width="31"> </td> </tr> </table> <!-- end bestsellersbox_only //--> </td></tr> <tr><td> <!-- start informationbox //--> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" bgcolor="#583317"> <tr> <td width="11"> </td> <td background="images/infobox_03.gif" class="infoBoxHeading" width="1428"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="100%" class="infoBoxHeading">Informatie</td> </tr> </table> </td> <td width="103" style="background-repeat: norepeat"> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor= "#FFFFFF" /*"#BBC3D3"*/ style="border-collapse: collapse" bordercolor="#111111"> <tr> <td> </td> <td bgcolor="#DBF1FF"><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText"><a href="http://www.houseofespresso.nl/catalog/shipping.php">Verzenden & retourneren</a><br> <a href="http://www.houseofespresso.nl/catalog/privacy.php">Privacy verklaring</a><br> <a href="http://www.houseofespresso.nl/catalog/conditions.php">Algemene voorwaarden</a><br> <a href="http://www.houseofespresso.nl/catalog/contact_us.php">Neem contact op</a></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> <td> </td> </tr> <tr> <td width="30"> </td> <td width="100%"> </td> <td width="31"> </td> </tr> </table> <!-- end informationbox //--> </td></tr> </table> </td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> dinsdag, 26 augustus 2008 </td> <td align="right" class="footer"> House of Espresso luistert ook naar de naam 'HoE' </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"> Copyright © 2008 <a href="http://www.houseofespresso.nl/catalog/index.php">House of Espresso</a> <br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a> </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"> </td> </tr> </table> <table border="0" cellpadding="3" cellspacing="0" width="100%"> <tr> </tr> </table> </body> </html> And the false one: <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><form name="checkout_address" action="http://www.houseofespresso.nl/catalog/checkout_shipping.php" method="post"><input type="hidden" name="action" value="process"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading">Verzendinformatie</td> <td class="pageHeading" align="right"></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b>Verzendadres</b></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> <td class="main" width="50%" valign="top">Selecteer uit uw adresboek waar de bestelling afgeleverd moet worden.<br><br> <a href="http://www.houseofespresso.nl/catalog/checkout_shipping_address.php"> <img src="includes/languages/dutch/images/buttons/button_change_address.gif" border="0" alt="Adres veranderen" title=" Adres veranderen " width="119" height="29"></a></td> <td align="right" width="50%" valign="top"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main" align="center" valign="top"><b>Verzendadres:</b><br> <img src="images/arrow_south_east.gif" border="0" alt="" width="50" height="31"></td> <td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> <td class="main" valign="top">
  14. Great, that works! IE and Opera were already ok but now Firefox is fine too. I now notice that some of the stylesheet code does have the 'px' already while some code copied from add ons doesn't so I'll fix'em all. Many Thanks!!
  15. Hi, I've set up the Product Grid with a border around each product which works perfect for IE but on Mozilla / Firefox....no border whatsoever! CSS used: TD.infoBoxGrid { border: solid 1 #DB016E; font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: transparent; } Now, this might be a dummy-newbee-firefox question, not related to this topic at all in which case you'll probably let me know.....If not, some guidance is appreciated! B.
  16. Once again thanks!! All is in line now. I'll go and play should I need some of the other functions as well.
  17. One more thing though.... Is there a way for this piece of code to "listen" to the Admin Product Listing settings (e.g. Product Listing Per Row, Product Listing Style, etc, etc)??
  18. CHECK!! It works!! Great stuff, many thanks!! :D (CSS already sorted as I had it running for the catagory path pages on index.)
  19. Hi, I'm pretty much a newby on OsC and PHP. On the basis that I started with both only a month ago I'm doing allright and well up to speed but sometimes..... Anyway, regarding these product thumbnails I've managed to install and set them up for the index pages and paths. But I've also got a Comming Soon product box as part of the Main Content, which is derived from the What's new box but in stead shows one fixed category, see contrib http://addons.oscommerce.com/info/2127 Now, my challenge is to also put the products in this box into a product thumbnail grid. I've compared code with the code used in and around the thumbnails to see where I could do some copy-pasting but no luck so far. I do realize the Comming Soon is written as info-box and that this might be the issue here.....but at the same time I'm thinking that 'a product listing is a product listing' so in one way or the other it should be applicable. Not sure if it helps, but below is the code of the comming_soon.php from the catalog/includes/modules folder. <?php /* $Id: new_products.php,v 1.34 2003/06/09 22:49:58 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- Comming Soon Start //--> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => sprintf(TABLE_HEADING_COMMING_SOON, strftime('%B'))); new contentBoxHeading($info_box_contents); if ( (!isset($new_products_category_id)) || ($new_products_category_id == '0') ) { $new_products_query = tep_db_query( "select p.products_id, p.products_image, p.products_tax_class_id, " . "if(s.status, s.specials_new_products_price, p.products_price) as products_price " . "from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id " . ", ". TABLE_PRODUCTS_TO_CATEGORIES . " p2c " . "where p.products_id = p2c.products_id and products_status = '1' and p2c.categories_id = 1 " . "order by rand() limit " . MAX_DISPLAY_NEW_PRODUCTS); } else { $new_products_query = tep_db_query("select distinct p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_new_products_price, p.products_price) as products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and c.parent_id = '" . (int)$new_products_category_id . "' and p.products_status = '1' order by rand() limit " . MAX_DISPLAY_NEW_PRODUCTS); } $row = 0; $col = 0; $info_box_contents = array(); while ($new_products = tep_db_fetch_array($new_products_query)) { $new_products['products_name'] = tep_get_products_name($new_products['products_id']); $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="33%" valign="top"', 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a><br>' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id']))); $col ++; if ($col > 2) { $col = 0; $row ++; } } new contentBox($info_box_contents); ?> <!-- new_products_eof //-->
  20. Hi, definitely a great contribution, I had it up and running and a littlebit tuned in seconds! One question though: is there any option or additional setting to give the height of a product box a fixed height? Even with the box height defined, each and every box in the product list now has it's own height, mainly determined by the pictures and their difference in size. Picture sizes might always be slightly different so what I'm looking for is to give each and every product box the exact same size which has of course a much better look 'n feel
  21. Hi, having browsed all Contributions and Add-ons and having searched the forum, I haven't found I was looking for so maybe somebody can help me out here..... For my new F&B fmcg store I'm looking for an option to offer my customers the choice to have the same order content automatically repeated every certain time period. Or defined otherwise, a subscription to a combination of products and quantities. In practice I expect the following: Customer puts 2x Product A and 3x Product B in cart, goes to check-out and has the option there to select "repeat my order every X months and do this Y times". X is a combo to choose 1-2-3-4-5-6 Month periods, Y is the number of repetitions. If the option for repetition is chosen, the only payment options then are A: pay for the entire number of orders or B: use automatic debiting after each time an order is sent. As solution I could imagine that in the back-end some sort of scheduler is used that clones the original order to a new one on the right date. The Big Question then is: does something like this already exist and if so where can I find it. If it doesn't exist, how would I be able to find more people interested in this (can't imagine I'm the only one here) and how to find a clever guy or girl who goes out and try to build something as such?
×
×
  • Create New...