Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


alix32 last won the day on January 11

alix32 had the most liked content!

1 Follower

Profile Information

Recent Profile Visitors

4,302 profile views
  1. alix32

    Menu Editor

    Hi - what would an horizontal category menu look like on the front end? A mega-menu like we see on pretty much every modern ecommerce site, with sub-categories in verticals/columns, a brand or any image of your choice in a dedicated space, etc..?
  2. alix32

    Header Tags SEO

    Yes I did fill the tags and that worked as I can see all the existing products' meta data populated. And then I went into Page Control > product_info.php enabling "product" and from that point I'd expect any newly created products to display the product name in the the meta-title on the fly but nothing's showing unless you go into edit the product information in admin and manually re-enter the product title in the "Products Title for SEO" field
  3. alix32

    Header Tags SEO

    Thanks @Jack_mcs - 1st problem resolved although the admin/categories file in V1.0.7.6 is slightly different - this is how I fixed this: $products_image_name = $pInfo->products_image; /*** Begin Header Tags SEO ***/ include_once 'includes/functions/header_tags_general.php'; /*** End Header Tags SEO ***/ $languages = tep_get_languages(); As for the second problem, I didn't manually edit the template_top file I simply overwrote it with the one provided in the package, so I do have the call to the header_tags.php file <?php /*** Begin Header Tags SEO ***/ include('includes/header_tags.php'); /*** End Header Tags SEO ***/ ?> It might be a version compatibility issue with V1.0.7.6...?
  4. alix32

    Header Tags SEO

    Hi - I just installed this on a fresh V1.0.7.6 Phoenix store and found 2 problems. 1- When you "preview" a product in admin (ie not "editing" but when clicking on the eye icon) you get this error: Fatal error: Uncaught Error: Call to undefined function tep_get_products_head_title_tag_alt() in C:\wamp\www\admin\categories.php on line 867 This is what I have on that line 867: $pInfo->products_head_title_tag_alt = tep_get_products_head_title_tag_alt($pInfo->products_id, $languages[$i]['id']); 2- In Page Control > product_info, even when selecting "product" in the left hand side Include box, the product title does not show in neither the meta-title nor the meta-description on the product_info page. I did make sure I ran the file headertags_seo_db_handler_hybrid.php and used all files within the Phoenix_V_1.0.7.4_and_later folder from the Header Tags SEO V3.3.11 version dated 16th november 2020 Maybe this 2nd issue is tied to the 1st one?
  5. alix32


    Bonjour Ines - sur quelle version d'OsCommerce es-tu? Si tu as besoin d'un support en Francais je te suggere de poster tes questions sur ce forum: http://www.oscommerce-fr.info/forum/ Si tu n'utilises pas OsCommerce alors tu n'es pas sur le bon forum
  6. alix32

    QTPro BS

    Hi @raiwa - I tested QTpro Phoenix 7.2.0 on my Phoenix store Version and found that when you add your quantities by attributes on the product page, the summary stock resets back to 0 upon clicking the save button. QTPro Doctor detects the quantity discrepancies between summary stock and options stock, so I go back to the product page > Attributes Stock tab and then click on the "Set the summary stock to: x" the total quantity updates OK, but again when clicking on the save button, the summary stock defaults back to 0. Did you test this version of QTpro on Phoenix Version and did you see this happen too? Thanks!
  7. Uhm well Mr Phil...I hear you. Right now I'm re-building the site on as quickly as possible. I gave the BS Edge version a shot but couldn't get my head round it. Right now I just need to get the site running on PHP 5.6 at least before my host provider turns the lights off as I'm still running on PHP 4 + it's not compatible with TLS1.2. was the fastest option for me to be back in business. And then I'll indulge into the BS version.
  8. Of course the sort_order! That worked perfectly thanks JcMagpie! <?php if (tep_db_num_rows($pi_query) > 1) { $pi_query = tep_db_query("select image from " . TABLE_PRODUCTS_IMAGES . " where products_id = '" . (int)$product_info['products_id'] . "' and sort_order=2"); ?>
  9. Hello all! I'm in the process of re-building my very old 2.2 site on 2.3.4. On the product_info page, my main image is displaying nicely along with its sub-images below. What I'd like to do now is copy over the image display code further down the page in a product description section. In that section, I'd like to display 2nd image of the product only if there are more than 1 image linked to that product, else I'd like to display the main image again. I've been scratching my head on this one but my poor knowledge of PHP has brought me to posting my question to this forum. So here's the code I have to display my product images. The main image appears in large (width of 410) and the next images appear smaller (width of 102) below the main image <?php if (tep_not_null($product_info['products_image'])) { $pi_query = tep_db_query("select image, htmlcontent from " . TABLE_PRODUCTS_IMAGES . " where products_id = '" . (int)$product_info['products_id'] . "' order by sort_order"); if (tep_db_num_rows($pi_query) > 0) { ?> <div id="piGal" style="float: left;"> <nav> <ul> <?php $pi_counter = 0; while ($pi = tep_db_fetch_array($pi_query)) { $pi_counter++; $pi_entry = ' <li ' . ($pi_counter != 1 ? 'style="float:left;" class="imgthumbHover"' : '') . '><a href="'; if (tep_not_null($pi['htmlcontent'])) { $pi_entry .= '#piGalimg_' . $pi_counter; } else { $pi_entry .= tep_href_link(DIR_WS_IMAGES . $pi['image'], '', 'NONSSL', false); } if ($pi_counter == 1) {$piwidth = '410'; $piheight = ''; } else { $piwidth = '102'; $piheight = '200'; } $pi_entry .= '"rel="zoombox[vacances]">' . tep_image(DIR_WS_IMAGES . $pi['image'], $products_name, $piwidth, null) . '</a>'; if (tep_not_null($pi['htmlcontent'])) { $pi_entry .= '<div style="display: none;"><div id="piGalimg_' . $pi_counter . '">' . $pi['htmlcontent'] . '</div></div>'; } $pi_entry .= '</li>'; echo $pi_entry; } ?> </ul> </nav> </div> <?php } else { ?> <div id="piGal" style="float: left;"> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image'], '', 'NONSSL', false) . '"rel="zoombox[vacances]">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '</a>'; ?> </div> <?php } ?> I understand that code will display my main image wider and above my sub-images if the product has more than 1 image, else it just displays the only image linked to that product. But how could I change this code so that only the 2nd image displays if the product has more than 1 image, else display the only image linked to that product? Hope that makes sense and someone knowledgeable is willing to take a few mns to help me out, Thanks!
  10. Hi there, I'm getting a table not found issue although I can see the table in my database. 1146 - Table 'soonlineshop.NEWSLETTER_ABONNEMENT' doesn't exist select count(*) as checkinscrits from NEWSLETTER_ABONNEMENT where abonnement_addresse_email = 'test@@test.com' I checked the name of the table in both the database and in file newsletter_abonnement.php and they match so I have no idea how I could get that error. Would someone be able to help please? Thanks
  11. Ok thanks Jack - I'll just uninstall it and install the latest version and see what that does.
  12. Hi, I built an oscommerce site a while back www.mossurfing.com with this add on and made some tweaks to have hyphen separators between my category titles (www.mysite.com/category1-category2) Example: http://www.mossurfing.com/women-snow-jackets-c-118_127.html I am currently building a new site but with a different host this time. I just copied over my previous site to this new host however my hyphen separators get wiped out (www.mysite.com/category1category2) Example: http://www.soon-line.com/hommesaccessoires-c-112_159.html I haven't changed anything so I'm thinking this is an issue on the host side but what could it be? Any help/advice would be very welcome! Many thanks
  13. Hi, I have duplicated products accross several categories. I just installed the "Specials in Categories List" however the products show as many times as they have been duplicated. Would you know how I could fix the code so that each product would show once only? Here are the instructions I followed: Step 1: Using the Admin tool create a "Specials" category at the top level of the categories tree. Do NOT put any products in this category!!!! Make a note of the category id number. You can find this out by clicking on the Specials link and looking at the URL in your browser where it says "......index.php?cPath=xx&....." the xx is the category id. +++++++++++++++++++++++++++++++ Step 2: Open up \catalog\index.php in your editor At line 15 immediately after: require('includes/application_top.php'); add: // Flag for SPECIALS category - change this number to your specials category id number if ($cPath == 30) { change 30 to xx from your URL $AHspecials = 1; } +++++++++++++++++++++++++++++++ Step 3: at about line 186 find: } else { // show the products in a given categories immediately after } else { add: if ($AHspecials == 1) { // We show all specials $listing_sql = "select " . $select_column_list . " p.products_id, pd.short_desc, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_status = '1' and s.status = '1' and p.products_id = p2c.products_id and p.products_id = s.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "'"; } else { +++++++++++++++++++++++++++++++++ Step 4: at about line 199 immediately after } } add: } +++++++++++++++++++++++++++++++++ save \catalog\index.php. Step 5: Add specials to your site by using the Admin tool "Catalog, Specials" Do NOT put any products in the Special category using "Catalog, Categories / Products" they will not show!!!! Thanks for your help!!
  14. Hi! Thanks a lot for taking the time to reply. Your first option is actually something I never thought of although it sounds bleeding obvious :) Well in my situation it is as I only have about 20 products on sale so great for short term solution. In the longer term I will look into this 2nd option. Thanks again
  15. Hi, In the product listing and for all products on sale, I'd like to have a "sale" written on the product's image. Has anyone got an idea of how to do this? Many thanks!