Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

oxwivi

Pioneers
  • Posts

    251
  • Joined

  • Last visited

Posts posted by oxwivi

  1. While adding text to PHP files, I found apostrophes (') needs to be written with backslash (\') so as to not interfere with PHP's syntax. However, that is not likely to help you as the customer's input should be modified.

     

    There are other input fields in default osCommerce that does not face such problems (product description field in admin, for example), so I think the addon's implementation is wrong. I do not understand PHP beyond following instructions to edit and install addons, so I cannot help.

  2. Hi,

     

    My osCommerce site registered a successful transaction a few days ago, but today I received 9 debug emails from the server with the same messages mentioned by others.

     

    How exactly are we supposed to debug using these lacking messages? Has anyone figured out what it means and why they are sent?

  3. None of the modules use HEADING_TITLE, they all set values in the module setup instead. This is easier for most people to set up and removes the problems caused by editing code files with unsuitable programs.

    For additional pages (mostly for the Information box), it will be yet another place where the title must be entered--there's already two different places where you must make sure to mention the page title when manually adding pages.

     

    Which module lets me set the title for pages I created anyway?

  4. Hello,

     

    I've installed the latest Modular SEO HT, and I have the following modules activated:

    • All Pages - Store Name in Title
    • Category Meta Keywords - Insert
    • Category Title - Category Name
    • Product Title - Product Name

    After installing the addon, none of the pages displayed any title so I enabled the All Pages - Store Name in Title module. The problem is, this is what the title shows now (assuming the store name is "Name of Store"):

    Name of StoreMODULE_HEADER_TAGS_CATEGORY_TITLE_SEPARATOR

     

    It only shows at the front page. Other pages displays the store name (or whatever they're supposed to show because of other modules) without any issues.

     

    By the way, is there any module that will display the HEADING_TITLE as the title header tag?

  5. Hi,

     

    I use Easy Populate to add products since I've lots of them (672 and counting). Can I ask you to help QPB integrated into EP?

     

    A few suggestions, if you don't mind:

    • since QPB integrates a quantity box, you could mention what the minimum order quantity is (if it has been set) there as well.
    • And move the add to cart button and quantity box to the left under the available options (I think it would make more sense that way).
    • Use jQuery for the table so it could easily integrate if the jQuery UI themes are changed
    • Display the single quantity's (or the minimum quantity) price as it is done on default osC (big font and everything) within the table, with the rest of the price/quantity differences described below.

    By the way, where is the box to define the price for the first quantity block? Neither adding or editing prodcuts shows that box: products existing before installing the addon retains the original price and creating new products only lists the price as 0.

  6. Ah, looks like SCO has changed a lot since it's younger days. I can no longer find the line you told me to change for static display of product quantity.

    //FIND
    <div class="left wid75 t-center">' . tep_draw_input_field('qty[' . $products[$i]['id'] . ']', $products[$i]['quantity'], 'size="2" data-pID="' . $products[$i]['id'] . '"') . '</div>
    //REPLACE WITH
    <div class="left wid75 t-center">' . $products[$i]['quantity'] . '</div>
    

  7. I replaced the bit of code you mentioned with the standard osC heading line:

    <h1><?php echo HEADING_TITLE; ?></h1>
    

     

    That did the trick. The whole experience with the Enhanced Contact Us has me wishing for someone kindred soul to upgrade it to 960 grids formathingy. I wish I knew enough to contribute...

  8. It wasn't the div class at fault, but the breadcrumb code itself. Removing the code from template_top corrected the form... I can't fathom the cause of the conflict.

     

    The following be the entire source code as copied from Firefox after it loaded the page.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Mysite.com</title>
    <base href="http://www.mysite.com/" />
    <link rel="stylesheet" type="text/css" href="ext/jquery/ui/swanky-purse/jquery-ui-1.8.17.css" />
    <script type="text/javascript" src="ext/jquery/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.17.min.js"></script>
    
    <script type="text/javascript" src="ext/jquery/bxGallery/jquery.bxGallery.1.1.min.js"></script>
    <link rel="stylesheet" type="text/css" href="ext/jquery/fancybox/jquery.fancybox-1.3.4.css" />
    <script type="text/javascript" src="ext/jquery/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
    <link rel="stylesheet" type="text/css" href="ext/960gs/960_24_col.css" />
    <link rel="stylesheet" type="text/css" href="stylesheet.css" />
    <style>
     div.padded {
    padding-top: 5px
    }
    </style>
    </head>
    <body>
    <div id="bodyWrapper" class="container_24">
    
    <div id="header" class="grid_24">
     <div id="storeLogo"><a href="http://www.mysite.com/index.php"><img src="images/store_logo.png" alt="Mysite.com" title=" Mysite.com " width="300" height="60" /></a></div>
     <div id="headerShortcuts">
    <span class="tdbLink"><a id="tdb1" href="http://www.mysite.com/shopping_cart.php">Cart Contents</a></span><script type="text/javascript">$("#tdb1").button({icons:{primary:"ui-icon-cart"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><span class="tdbLink"><a id="tdb2" href="http://www.mysite.com/checkout_shipping.php">Checkout</a></span><script type="text/javascript">$("#tdb2").button({icons:{primary:"ui-icon-triangle-1-e"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><span class="tdbLink"><a id="tdb3" href="http://www.mysite.com/account.php">My Account</a></span><script type="text/javascript">$("#tdb3").button({icons:{primary:"ui-icon-person"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script>  </div>
    <script type="text/javascript">
     $("#headerShortcuts").buttonset();
    </script>
    </div>
    
    <div id="bodyContent" class="grid_16 push_4">
    <div class="grid_16 alpha ui-widget infoBoxContainer padded">
     <div class="ui-widget-header infoBoxHeading">  <a href="http://www.mysite.com" class="headerNavigation">Home</a> » <a href="http://www.mysite.com/contact_us.php" class="headerNavigation">Contact Us</a></div>
    </div>
    <form name="contact_us" action="http://www.mysite.com/contact_us.php?action=send" method="post"> <table border="0" summary="" width="100%" cellspacing="0" cellpadding="0">
      <tr>
    	<td><table border="0" summary="" width="100%" cellspacing="0" cellpadding="0">
    	  <tr>
    		<td class="pageHeading">Contact Us</td>
    		</td>
    	  </tr>
    	</table></td>
      </tr>
    <input type="hidden" name="phone" />	  <tr>
    	<td><table border="0" summary="" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
    	  <tr class="infoBoxContents">
      <td valign="top" width="40%">
    	<table>
    	<tr>
    	<td class="main" >
    		 <b>myshop<br />
    mylocation<br />
    mycountry<br />
    myphone</b><br><br>
    
    <b>Office Hours:</b><br><table class="main">
    <tr><td class="main">Monday to Thursday</td><td class="main">: 8h30 to 17h00</td></tr>
    <tr><td class="main">Friday</td><td class="main">: 8h30 to 16h00</td></tr>
    <tr><td class="main">Saturday</td><td class="main">: 8h30 to 16h00</td></tr>
    <tr><td class="main" colspan="2"><br />
    Please use the form on the right to contact us with any comments or concerns.<br /><br />
    Please ensure that you have checked our <a href=faq.php>FAQ section</a> first, as you may find the answers to your queries there.<br /><br />
    We will reply as soon as we are able and will endeavor to reply within one day.
    </td></tr></table>
    	</td>
    		</tr>
    	  </table>
    	   </td><td valign="top" width="60%"><table border="0" summary="" width="100%" cellspacing="0" cellpadding="2">
    		  <tr>
    			<td class="main">Full Name:</td>
    		  </tr>
    		  <tr>
    			<td class="main"><input type="text" name="name" size="28" /></td>
    		  </tr>
    		  <tr>
    			<td class="main">E-Mail Address:</td>
    		  </tr>
    		  <tr>
    			<td class="main"><input type="text" name="email" size="28" /></td>
    		  </tr>
       <tr>
    			<td class="main">Subject:</td>
    		  </tr>
    		  <tr>
    			<td class="main"><input type="text" name="subject" size="28" /></td>
    		  </tr>
    		  <tr>
    			<td class="main">Enquiry:</td>
    		  </tr>
    		  <tr>
    			<td><textarea name="enquiry" cols="50" rows="15"></textarea></td>
    		  </tr>
    		</table></td>
    	  </tr>
    	</table></td>
      </tr>
       <tr>
    	<td><table border="0" summary="" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
    	  <tr class="infoBoxContents">
    		<td><table border="0" summary="" width="100%" cellspacing="0" cellpadding="2">
    		  <tr>
    			  <div class="buttonSet">
     <span class="buttonAction"><span class="tdbLink"><button id="tdb4" type="submit">Continue</button></span><script type="text/javascript">$("#tdb4").button({icons:{primary:"ui-icon-triangle-1-e"}}).addClass("ui-priority-primary").parent().removeClass("tdbLink");</script></span>
      </div>
    			</tr>
    		</table></td>
    	  </tr>
    	</table></td>
      </tr>
    </table></form></td>
    </div> <!-- bodyContent //-->
    
    <div id="columnLeft" class="grid_4 pull_16">
      <div id="categoriesMenu">
      <h3 onclick="location.href='http://www.mysite.com/index.php?cPath=1';"><a href="#">Abaya</a></h3>
      <div>
    <script type="text/javascript">
     $(function() {
    $( "#categoriesMenu" ).accordion({
      autoHeight: false,
      icons: {
    	'header': 'ui-icon-plus',
    	'headerSelected': 'ui-icon-minus'
      },
      collapsible: true,
      active: false
    });
     });
    </script>
      </div>
    </div>
    <div class="ui-widget infoBoxContainer">  <div class="ui-widget-header infoBoxHeading">Quick Find</div>  <div class="ui-widget-content infoBoxContents" style="text-align: center;">	<form name="quick_find" action="http://www.mysite.com/advanced_search_result.php" method="get">	<input type="text" name="keywords" size="10" maxlength="30" style="width: 75%" /> <input type="hidden" name="search_in_description" value="1" /><input type="image" src="includes/languages/english/images/buttons/button_quick_find.gif" alt="Quick Find" title=" Quick Find " /><br />Use keywords to find the product you are looking for.<br /><a href="http://www.mysite.com/advanced_search.php"><strong>Advanced Search</strong></a>	</form>  </div></div>
    <div class="ui-widget infoBoxContainer">  <div class="ui-widget-header infoBoxHeading"><a href="http://www.mysite.com/products_new.php">What's New?</a></div>  <div class="ui-widget-content infoBoxContents" style="text-align: center;"><a href="http://www.mysite.com/product_info.php?products_id=333"><img src="images/products/Abaya/EN/EN-20sm.JPG" alt="EN-20" title=" EN-20 " width="100" height="80" /></a><br /><a href="http://www.mysite.com/product_info.php?products_id=333">EN-20</a><br />$45.00</div></div>
    <div class="ui-widget infoBoxContainer">  <div class="ui-widget-header infoBoxHeading">Information</div>  <div class="ui-widget-content infoBoxContents">	<a href="http://www.mysite.com/shipping.php">Shipping & Returns</a><br />	<a href="http://www.mysite.com/conditions.php">Terms and Conditions</a><br />	<a href="http://www.mysite.com/contact_us.php">Contact Us</a><br />	<a href="http://www.mysite.com/faq.php">FAQ</a><br />  </div></div></div>
    
    <div id="columnRight" class="grid_4">
     <div class="ui-widget infoBoxContainer">  <div class="ui-widget-header infoBoxHeading"><a href="http://www.mysite.com/shopping_cart.php">Shopping Cart</a></div>  <div class="ui-widget-content infoBoxContents">0 items</div></div>
    <div class="ui-widget infoBoxContainer">  <div class="ui-widget-header infoBoxHeading"><a href="http://www.mysite.com/reviews.php">Reviews</a></div>  <div class="ui-widget-content infoBoxContents">There are currently no product reviews</div></div></div>
    <div class="grid_24 footer">
     <p align="center">Copyright © 2012 <a href="http://www.mysite.com/index.php">Mysite.com</a><br />Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a></p>
    </div>
    
    <script type="text/javascript">
    $('.productListTable tr:nth-child(even)').addClass('alt');
    </script>
    </div> <!-- bodyWrapper //-->
    
    </body>
    </html>
    

  9. I'm sorry but here's something troubling for the brain to burn on again.

     

    post-301492-0-20900500-1332160427_thumb.png

     

    The last thing I changed in osC code was moving the breadcrumb from header.php to template_top.php as described here. I did not change the contact_us.php as provided, and replacing it (from ECU package) again was no help either.

     

    I did face similar issues with an information page. That was because of an extra </div> tag, but there's nothing similar in contact_us language file. And it did work properly before.

     

    Does contact_us.php has defined it's div.padding thing or something? That's the only thing I can think of, in relation to my breadcrumb modification.

×
×
  • Create New...