Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

lagodilecco

Pioneers
  • Posts

    40
  • Joined

  • Last visited

  • Days Won

    1

lagodilecco last won the day on May 13 2010

lagodilecco had the most liked content!

Profile Information

  • Real Name
    Diana
  • Gender
    Female
  • Location
    Sydney, Australia

lagodilecco's Achievements

  1. I appreciate the contribution - thanks! I do have a suggestion/question. I've been playing with the code, and was wondering if there is any reason why it wouldn't be possible to simplify part of the contribution. Couldn't we replace the following: --------------- <?php $text_query = tep_db_query("select cd.categories_name, c.categories_id, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$current_category_id . "' and cd.categories_id = '" . (int)$current_category_id . "' and cd.language_id = '" . (int)$languages_id . "'"); $text = tep_db_fetch_array($text_query); ?> <?php if ($text['categories_id'] == '28') { ?> <tr><td><?php echo SUB_CAT_DESC_28; ?> <br><br></td></tr> <?php } ?> ----------------- With this?: <?php if ((int) $current_category_id == 28) { echo "<tr><td>Place text or variable here for category 28<br><br></td></tr>"; } ?> I have tested this and it seems to work fine. What do you think?
  2. Also just a "FYI": I recently had a similar problem while testing in the sandbox. After combing this forum, somebody suggested checking in admin that the paypal email address was correct. In my case, I had the 'live' email address for the 'sandbox' switch. Silly me. Seems like this error message is a symptom with more than one cause, because, in my case, simply correcting the email address solved the problem. Hope this helps somebody else.
×
×
  • Create New...