Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

alix32

Members
  • Content count

    76
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by alix32

  1. alix32

    Header Tags SEO

    @Jack_mcs - everything works fine now thanks! I'll continue to test thoroughly and will let you know if I come across anything else Thanks
  2. alix32

    Header Tags SEO

    Thanks @Jack_mcs, there is an issue with this updated file. When running fill tags for all sections, titles and category descriptions get filled with "on" regardless of what you enter in the generic string fields. Sorry!
  3. alix32

    Header Tags SEO

    Hi @Jack_mcs, ok so: 1- the manufacturers issue is resolved by following your recommendations below, thanks! I'm no longer seeing these issues below: 2- Categories not displaying in the Categories box within the Fill Tags section - that is also fixed thanks to your suggested changes: 3- However, I'm still seeing Undefined index warnings: ( ! ) Notice: Undefined index: add_generic_man_title in C:\wamp\www\admin\header_tags_fill_tags.php on line 238 ( ! ) Notice: Undefined index: generic_man_title in C:\wamp\www\admin\header_tags_fill_tags.php on line 238 ( ! ) Notice: Undefined index: add_generic_man_keywords in C:\wamp\www\admin\header_tags_fill_tags.php on line 240 ( ! ) Notice: Undefined index: generic_man_keywords in C:\wamp\www\admin\header_tags_fill_tags.php on line 240 ( ! ) Notice: Undefined index: add_generic_man_title in C:\wamp\www\admin\header_tags_fill_tags.php on line 238 ( ! ) Notice: Undefined index: generic_man_title in C:\wamp\www\admin\header_tags_fill_tags.php on line 238 ( ! ) Notice: Undefined index: add_generic_man_keywords in C:\wamp\www\admin\header_tags_fill_tags.php on line 240 ( ! ) Notice: Undefined index: generic_man_keywords in C:\wamp\www\admin\header_tags_fill_tags.php on line 240 What I noticed is that it only happens when you want to fill tags for individual sections with Categories, Manufacturers or Products. For example if I want to run Fill Tags for Products Titles: I don't see the notices if I update all sections Title, Description & Keywords. 4- And after adding the French Language Pack and removing English, I get this error after filling tags if I don't select the language button at the bottom of the Fill Tags page: On my clean install with English as default (no other language), the radio button is pre-selected against English. When adding French and removing English, the radio-button against French is not pre-selected: Is there a way to get the new language pre-selected rather than having to click on the button each time? Thanks!
  4. alix32

    Header Tags SEO

    And the categories are still not displaying here:
  5. alix32

    Header Tags SEO

    Hi - just installed on a clean version (with English as default). I'm no longer seeing the issues I saw at first with French as default and English language removed, but I'm seeing the same issues @ Owl Sauron did:
  6. alix32

    Header Tags SEO

    Hi and thanks @Jack_mcs. I re-installed it and am still getting the same errors. I'll install on a clean Phoenix store to see what I get. To note, I'm testing this on local Wamp server with PHP V7.3.5. It could also be because of my French language settings...wondering if @artfulweb has tested this new version of Header Tags on a Phoenix V.1.0.8.0 store and had these issues too? Will keep you posted
  7. alix32

    Header Tags SEO

    Hi @Jack_mcs, Just tested the newest version v3.3.14 on Phoenix V1.0.8.0 and I'm running into a couple of issues that may be interlinked. 1- When running the fill tags I get this error: Notice: Undefined index: language_group in C:\wamp\www\admin\header_tags_fill_tags.php on line 53 Tags won't fill. This is what I have on line 53 of that file: $languageID = (int)substr($_POST['language_group'], (strpos($_POST['language_group'], '_') + 1)); //get the selected language or all Now, if I change this and hard code the ID of the language I'm using (French, language ID 2) $languageID = 2; the fill tags works however I get another set of errors: Undefined index: add_generic_cat_meta_desc in C:\wamp\www\admin\header_tags_fill_tags.php on line 139 Undefined index: generic_cat_meta_desc in C:\wamp\www\admin\header_tags_fill_tags.php on line 139 Undefined index: add_generic_cat_keywords in C:\wamp\www\admin\header_tags_fill_tags.php on line 140 Undefined index: generic_cat_keywords in C:\wamp\www\admin\header_tags_fill_tags.php on line 140 etc... 2- Still in the Fill Tags menu, none of the category titles show up in the "Categories" box (maybe tied to the issue above?)
  8. 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..?
  9. 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
  10. 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...?
  11. 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?
  12. alix32

    QTPro BS

    Hi @raiwa - I tested QTpro Phoenix 7.2.0 on my Phoenix store Version 1.7.6.0 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 1.7.6.0 and did you see this happen too? Thanks!
  13. 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!
  14. Uhm well Mr Phil...I hear you. Right now I'm re-building the site on 2.3.4.1 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. 2.3.4.1 was the fastest option for me to be back in business. And then I'll indulge into the BS version.
  15. 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"); ?>
  16. 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
  17. Ok thanks Jack - I'll just uninstall it and install the latest version and see what that does.
  18. 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
  19. 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!!
  20. 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
  21. 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!
  22. Today it's working and i haven't touched anything! No idea of what went wrong. Sorry for the waist of time Glen. Alix
  23. Hi Glen and thanks a lot for your reply. I haven't touched the Javascript options...do you know where I should be looking at? I believe it's in my internet options / advanced? It may be my Java version? Thanks
  24. Hi, I installed version 3.5.4 and is brilliant. However, although I haven't touched anything, my pages don't refresh anymore. It looks like this happens since I updated to IE7. has this happened to anyone too? Is there a fix to this? Thanks, Alix
  25. I've found the problem! :blush: When I moved to the new server, the options "track stock?" in the admin/products_attributes.php page had defaulted back to no. So I just had to set each of my product options in the top left hand corner of the page to yes. Sorry!
×