Jump to content

sakura92983

Members
  • Content count

    11
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Katie
  1. sakura92983

    Checkout by Amazon for osCommerce Support Thread

    I tried installing this add on, but now when you add something to your shopping cart, the page is completely blank and you can't checkout. Any suggestions on what may have gone wrong? Here's part of the code for that shopping_cart.php. I should also note that I don't have Google checkout installed. <td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></form></td> </tr> <tr> <td> <?php ///////////////////////////////////////////////////////////////////////////////////// // // AMAZON CODE -> START // ///////////////////////////////////////////////////////////////////////////////////// require_once("checkout_by_amazon/checkout_by_amazon_util_dao.php"); $utilDao = new UtilDAO(); $utilDao->printButton(); ///////////////////////////////////////////////////////////////////////////////////// // // AMAZON CODE -> END // ///////////////////////////////////////////////////////////////////////////////////// } else { ?> </td> </tr> $initialize_checkout_methods = $payment_modules->checkout_initialization_method(); if (!empty($initialize_checkout_methods)) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td align="right" class="main" style="padding-right: 50px;"><?php echo TEXT_ALTERNATIVE_CHECKOUT_METHODS; ?></td> </tr> <?php reset($initialize_checkout_methods); while (list(, $value) = each($initialize_checkout_methods)) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td align="right" class="main"><?php echo $value; ?></td> </tr> <?php } } } else { ?> <tr>
  2. sakura92983

    Contribution: Category Descriptions

    I love this contribution. There's one problem I have. The lady I am setting up this website for wants a description on the main page as well as descriptions for each category. If I put a description for TEXT_MAIN, it also shows up on the category pages as well. Here's an example of my problem: Main Site with description: http://onestopmommy.com/osc Baby Bedding Category (category description appears below text_main): http://onestopmommy.com/osc/index.php/cPath/31 How can I get that TEXT_MAIN to only show up on the main page?
  3. sakura92983

    Greenmania template released

    I'm having trouble getting TEXT_MAIN to show on my index file. I want to include a description of my site. Can someone look over my coding and see if there is an error? Or has TEXT_MAIN been disabled on this template? If so, how can I re-enable it? <?php /* $Id: index.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2007 osCommerce Released under the GNU General Public License */ define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); define('TEXT_MAIN', '<br><br> Welcome to <b><i><font color="#669933">One Stop Mommy Organics</font></i></b> serving the organic needs of families. Young children are extremely vulnerable to toxic exposures. We at <b><i><font color="#669933">One Stop Mommy Organics</font></i></b> are dedicated to bring you the safest organic products available on the market.<br> <br> <br> <center><img src="includes/languages/english/images/main02.JPG" border="0" width="300px" alt="One Stop Mommy Organics" /></center><br><br> We provide carefully selected, environmentally and health friendly items for you and your family. Our biggest concern is your littlest being. We research to get you the healthiest products that you can feel good using.<br> <br> Let us know what you are looking for. Is there something that is not available that you feel would benefit a lot of health minded parents?<br> <br> Here at <b><i><font color="#669933">One Stop Mommy Organics</font></i></b>, we work hard researching and locating or creating the products you demand. We realize the hard work and time commitment of a parent so we do the research for you. When you buy from us you will know what you are getting. Our wood toys are researched to make sure they are PVC-Free and made in factories that provide a safe working environment for their employees. We make sure our organic cotton is really organic every step of the way. We sell lines of bedding, clothing, and diapers to meet the needs of parents.<br> <br> <br> Have fun shopping for items that you know will keep your little ones and your family safe!<br> <br> <center><img src="includes/languages/english/images/main03.JPG" border="0" alt="One Stop Mommy Organics" /></center><br> '); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { define('HEADING_TITLE', 'Let\'s See What We Have Here'); define('TABLE_HEADING_IMAGE', ''); define('TABLE_HEADING_MODEL', 'Model'); define('TABLE_HEADING_PRODUCTS', 'Product Name'); define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); define('TABLE_HEADING_QUANTITY', 'Quantity'); define('TABLE_HEADING_PRICE', 'Price'); define('TABLE_HEADING_WEIGHT', 'Weight'); define('TABLE_HEADING_BUY_NOW', 'Buy Now'); define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.'); define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: '); define('TEXT_SHOW', '<b>Show:</b>'); define('TEXT_BUY', 'Buy 1 \''); define('TEXT_NOW', '\' now'); define('TEXT_ALL_CATEGORIES', 'All Categories'); define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers'); } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'What\'s New Here?'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?>
×