Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

friendlyfriend

Members
  • Content count

    20
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Alex Shine
  1. friendlyfriend

    [Contribution] STS v4

    Hey, thanks this will with installing so many other mods that aren't compatible with STS. Alex
  2. friendlyfriend

    [Contribution] STS v4

    Hello, I was wondering if there is a way to turn off STS for one or two pages. I'm trying to use a printable catalog mod. The mod works fine when I turn STS off Is there a way to turn of STS just for catalog/print_catalog.php but leave default enabled so it's still working for all other pages? Thank You, Alex
  3. friendlyfriend

    KissMT Dynamic SEO Meta & Canonical Header Tags

    I believe I fixed it my self in addition to the instructions above I added include_once DIR_WS_MODULES . 'kiss_meta_tags/kiss_meta_tags.php'; $sts->template['headertags']= KissMT::init()->output(); Into the sts_inc/general.php I am now getting two sets of meta tags, but one is outside of the <head></head> area, so I don't think it's hurting anything. I'll deal with that later
  4. friendlyfriend

    KissMT Dynamic SEO Meta & Canonical Header Tags

    Thanks, but that doesn't work for me. It's maybe because I'm running STS. I followed these instructions from previous post in this thread to get KissMT working with STS. Any other STS users out there getting <meta name="keywords" content=""> on their homepage? Step 1 Edit file includes/modules/sts_inc/sts_user_code.php add $sts->start_capture(); include(DIR_WS_MODULES . 'kiss_meta_tags/kiss_meta_tags.php'); $sts->stop_capture('kissmeta'); after first <?php and before $sts->start_capture(); echo "\n<!-- Start Category Menu -->\n"; echo tep_draw_form('goto', FILENAME_DEFAULT, 'get', ''); echo tep_draw_pull_down_menu('cPath', tep_get_category_tree(), $current_category_id, 'onchange="this.form.submit();"'); echo "</form>\n"; echo "<!-- End Category Menu -->\n"; $sts->stop_capture('catmenu'); Step 2 Edit file includes/modules/sts_inc/general.php delete $sts->template['headertags']= "<title>" . TITLE ."</title>"; Step 3 Edit your template html Now add $kissmeta to your template .html like... <head> <!--$headcontent--> $kissmeta <link rel="stylesheet" type="text/css" href="************.css"> </head>
  5. friendlyfriend

    KissMT Dynamic SEO Meta & Canonical Header Tags

    Hello, My homepage doesn't have any keywords. just <meta name="keywords" content=""> Keywords on all the other pages look great. am I supposed to manually specify the keywords for index.php I don't know where to set them and and I have read the Getting the Most Out of KissMT Dynamic SEO Meta Tags Base Install Thanks, Alex
  6. friendlyfriend

    ULTIMATE Seo Urls 5 - by FWR Media

    never mind I just deleted everything in catalog/cache and now its working great, thanks for the great mod.
  7. friendlyfriend

    ULTIMATE Seo Urls 5 - by FWR Media

    Hello, I just upgraded to php 5.2 and installed ULTIMATE_Seo_Urls_5_r141_stable In my categories box when I roll my mouse over the categories I still see at the bottom of the browser in the status bar http://domainname.com/store/index.php?cPath=XXX Is this normal? When I click the category it says the proper SEO url in the address bar I was hoping never to see index.php?cPath=XXX again. Thanks, Alex
  8. friendlyfriend

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    Hello, I just installed Ultimate_Seo_Urls_2.1d_STABLE_FINAL_r172, and have not had any problems with order numbers: 0 or checkout. Best of luck, Alex
  9. friendlyfriend

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    Do you know where I can check to see if I am using oscommerce-type code for the checkout links? Checkout does work fine when I remove this addon, it's very strange
  10. friendlyfriend

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    Thank You for the prompt replies, I'm looking to see if I'm using oscommerce-type code for checkout, I'm not sure where to find this. I inherited this store from a previous admin. I am not using any redirects.
  11. friendlyfriend

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    I just look at my server info in Admin. It says I'm running osCommerce 2.2-MS2 is my version of osC incompatible with Ultimate SEO URLSv22d-9? Thanks, Alex
  12. friendlyfriend

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    Hello, I've just installed Ultimate SEO URLsV 2.2d-9 The URLs look great, but now my checkout is broken. All orders come through as "order number: 0" I receive email notification of these orders, but nothing appears in admin. I've removed the addon completely and reinstalled it. Same thing, Has anyone ever seen this before? Any advice? Thanks, Alex
  13. Hello all, I'm working with http://addons.oscommerce.com/info/6339 I love this add-on it is so simple to install and does exactly what I want, except for one thing. It displays the product image and then just the price underneath it. I would like it to display image/product name/price. I've been fiddling with the code for a day and I'm just not experienced enough to make it work. I'm sure it's simple for someone out there, Thank you, Alex <?php /* $Id: new_products.php 1806 2008-01-11 22:48:15Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2008 osCommerce Released under the GNU General Public License */ ?> <!-- new_products //--> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B'))); new contentBoxHeading($info_box_contents); if ( (!isset($new_products_category_id)) || ($new_products_category_id == '0') ) { $category_query = tep_db_query("select distinct categories_id from ". TABLE_PRODUCTS_TO_CATEGORIES ); $cids = array(); while ($categories = tep_db_fetch_array($category_query)) { array_push($cids, $categories["categories_id"]); } $cid = $cids[rand(0, count($cids) - 1)]; // removed order by p.products_date_added desc $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 = 54)" . "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)) { $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 //-->
×