Jump to content

alfredor

Members
  • Content count

    10
  • Joined

  • Last visited

2 Followers

Profile Information

  • Real Name
    Alfredo

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. alfredor

    Search Engine Optimisation (SEO)

    Hello, For multi-language sites, it is contemplated to write the URL tags in different languages of the same product, category or index: link rel = "alternate" hreflang = "XX" <link rel="alternate" hreflang="fr" href="https://www.xxx.com/fr/xxx.html" /> <link rel="alternate" hreflang="it" href="https://www.xxx.com/it/xxx.html" /> <link rel="alternate" hreflang="en" href="https://www.xxx.com/en/xxx.html" /> Thanks.
  2. alfredor

    Products Attributtes

    Hello, many ECommerce, they work with two software, the website and the ERP, and both are basically synchronized in two aspects. - Download the orders in the ERP to manage them. - Update prices and make stock updates. At the same time, sometimes the ERP, the products are unique, that is, they have a code for the product with its size and color, they are not attributes of a single product. While in OsCommerce the colors and sizes are attributes of a single product. Is it contemplated to put the attribute code in OsCommerce? For example: Black -> Code 500 White -> Code 600 Size M -> Code 1025 Size L -> Code 1030 To be able to record the entire product code in a column of the order. For example 001560.500.1025 <- Product Black size M 001560.600.1030 <- Product White Size L. Or even to be able to update stocks directly against those codes? Or assign directly to those codes the EAN or MPN for Google Shopping for example? The stocks are based on the QTPro contribution? Thanks.
  3. alfredor

    osCommerce v4 demo

    Hello ! What time is the demo? I'm interested !
  4. alfredor

    PHPList integration to OsCommerce

    WARNING If you get this message with this contribution "Warning: Illegal string offset 'customers_newsletter' in ../account_newsletters.php" is because in the script the $newsletter['customers_newsletter'] is not an Array. You need to replace $newsletter['customers_newsletter'] -> $newsletter FIND: if ($newsletter_general != $newsletter['customers_newsletter']) { REPLACE if ($newsletter_general != $newsletter) { *********** FIND: echo tep_draw_checkbox_field('newsletter_general', '1', (($newsletter['customers_newsletter'] == '1') ? true : false), 'onclick="checkBox(\'newsletter_general\')"'); REPLACE echo tep_draw_checkbox_field('newsletter_general', '1', (($newsletter == '1') ? true : false), 'onclick="checkBox(\'newsletter_general\')"');
  5. Hi, this contribution write the canonical alternate href? Lik this? <link rel="alternate" hreflang="es" href="http://www.myweb.com/spanish-name-product-p-842.html" /> <link rel="alternate" hreflang="pt" href="http://www.myweb.com/pt/portugues-name-product-p-842.html" /> <link rel="alternate" hreflang="fr" href="http://www.myweb.com/fr/frances-name-product-p-842.html" /> <link rel="alternate" hreflang="en" href="http://www.myweb.com/en/english-name-product-p-842.html" /> I have install ULTIMATE Seo Urls 5 by FWR Media. but it's complicated write the canonical alternate href links: http://forums.oscommerce.com/topic/386793-canonical-hreflang-ultimate-seo-urls-5-by-fwr-media/
  6. I have almost the solution, but I need a last effort, i write this in the header: function alternate_hreflang_canonical($parameters) { if ( defined( 'USU5_MULTI_LANGUAGE_SEO_SUPPORT' ) && USU5_MULTI_LANGUAGE_SEO_SUPPORT == 'true' ) { $languages_query = tep_db_query( "select languages_id, name, code, image, directory from " . TABLE_LANGUAGES . " order by sort_order" ); $current_language = ''; $languages_array = array(); while ( $languages = tep_db_fetch_array( $languages_query ) ) { $languages_id = $languages['languages_id']; $language = $languages['directory']; Usu_Main::i()->initiate( array(), $languages_id, $language, true ); $return .= '<link rel="alternate" hreflang="'.$languages['code'].'" href="'.tep_href_link( FILENAME_PRODUCT_INFO, "products_id=".(int)$parameters, 'NONSSL', false ).'" /> '; } } echo $return; } alternate_hreflang_canonical($HTTP_GET_VARS["products_id"]); But this write correctly the URL, but no the name of the product in the url: <link rel="alternate" hreflang="es" href="http://www.myweb.com/spanish-p-842.html" /> <link rel="alternate" hreflang="pt" href="http://www.myweb.com/pt/spanish-p-842.html" /> <link rel="alternate" hreflang="fr" href="http://www.myweb.com/fr/spanish-p-842.html" /> <link rel="alternate" hreflang="en" href="http://www.myweb.com/en/spanish-p-842.html" /> I need write this,but does not work the script... <link rel="alternate" hreflang="es" href="http://www.myweb.com/spanish-name-product-p-842.html" /> <link rel="alternate" hreflang="pt" href="http://www.myweb.com/pt/portugues-name-product-p-842.html" /> <link rel="alternate" hreflang="fr" href="http://www.myweb.com/fr/frances-name-product-p-842.html" /> <link rel="alternate" hreflang="en" href="http://www.myweb.com/en/english-name-product-p-842.html" /> Any help please?
  7. hi, I'm using osCommerce 2.2 with ULTIMATE Seo Urls 5 by FWR Media, it's working perfectly. But i want to write in the header the alternate canonical tags like: link rel="alternate" hreflang="fr"... link rel="alternate" hreflang="en" ... with the differents languages urls, this tags are not included in the KissMT Dynamic SEO Meta & Canonical Header Tags. Anybody konws the code for write this tags? Because I write this, but doesnt work: echo '<link rel="alternate" hreflang="fr" href="'.tep_href_link( FILENAME_PRODUCT_INFO, 'products_id='.(int)$HTTP_GET_VARS['products_id'].'&language=fr').'" />'; echo '<link rel="alternate" hreflang="en" href="'.tep_href_link( FILENAME_PRODUCT_INFO, 'products_id='.(int)$HTTP_GET_VARS['products_id'].'&language=en').'" />'; thanks, I think that is not necessary install any contribution... with ULTIMATE Seo Urls 5 by FWR Media it's ok, but i dont kown the code to write... thanks a lot.
  8. Hi, very nice contribution, I only have a question. you write: ----------------------- Find ... if ($request_type == 'NONSSL') { Add immediately ABOVE ... // Security Pro by FWR Media include_once DIR_WS_MODULES . 'fwr_media_security_pro.php'; $security_pro = new Fwr_Media_Security_Pro; // If you need to exclude a file from cleansing then you can add it like below //$security_pro->addExclusion( 'some_file.php' ); $security_pro->cleanse( $PHP_SELF ); // End - Security Pro by FWR Media That's it .. all installed! ------------------------ The question is: This contributions only works in NONSSL ? It's not necessary in the pages with SSL? Thanks for the answer. :-)
×