Thread: SitemapXML v.2

Page 162 of 213 FirstFirst ... 62112152160161162163164172212 ... LastLast
Results 1,611 to 1,620 of 2125
  1. #1611
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: SitemapXML v.2

    Hi,
    Quote Originally Posted by rjsandlin View Post
    A website with zencart I just build last year requested a display only/category only (except for featured products) zencart installation. There are basically no products only showcasing categories with subcategories of lines of products. This is only a display cart with no transactions allowed.

    The xml sitemap generator module does not list categories if there are no products. This is a major problem for this site. Is there anyway to remove the restriction that prevents the categories from showing up if there are no products?

    Thanks in advance.

    RJ Sandlin
    Thank you for this post. That's my bag.
    Quick bug fix.
    File includes/modules/pages/sitemapxml/sitemapxml_categories.php
    Find line ~65:
    PHP Code:
    if ($products->fields['total'] > 1) { 
    replace by
    PHP Code:
    if ($products->fields['total'] == || $products->fields['total'] > 1) { 
    Write about results.

  2. #1612
    Join Date
    Aug 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: SitemapXML v.2

    Quote Originally Posted by a_berezin View Post
    Hi,

    Thank you for this post. That's my bag.
    Quick bug fix.
    File includes/modules/pages/sitemapxml/sitemapxml_categories.php
    Find line ~65:
    PHP Code:
    if ($products->fields['total'] > 1) { 
    replace by
    PHP Code:
    if ($products->fields['total'] == || $products->fields['total'] > 1) { 
    Write about results.
    =======================
    THANKS! Worked like a charm!

    RJ

  3. #1613
    Join Date
    Aug 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: SitemapXML v.2

    Quote Originally Posted by rjsandlin View Post
    =======================
    THANKS! Worked like a charm!

    RJ
    uh oh spoke too soon. Just found that the categories stop at only one sub-sub-category and skips the rest. Example:
    ..../catalog/index.php?main_page=index&cPath=59_61
    ..../catalog/index.php?main_page=index&cPath=59_61_371 (it quits reading the rest of the sub-sub-categories after the first one)
    there is a 59_61_83, 59_61_84 and one more with a 59_61_371_375 which is a sub-sub-sub-category.
    but it is grabbing all the categories and the sub-categories, just not all the sub-subs and sub-sub-subs.

  4. #1614
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: SitemapXML v.2

    Quote Originally Posted by rjsandlin View Post
    uh oh spoke too soon. Just found that the categories stop at only one sub-sub-category and skips the rest. Example:
    ..../catalog/index.php?main_page=index&cPath=59_61
    ..../catalog/index.php?main_page=index&cPath=59_61_371 (it quits reading the rest of the sub-sub-categories after the first one)
    there is a 59_61_83, 59_61_84 and one more with a 59_61_371_375 which is a sub-sub-sub-category.
    but it is grabbing all the categories and the sub-categories, just not all the sub-subs and sub-sub-subs.
    Something is wrong. For me there is no difference between the sub-category or sub-sub-category. We consider all enabled categories regardless of nesting. In sitemap not included only categories with only one product and only if the option SKIP_SINGLE_PRODUCT_CATEGORIES is enabled.

    Can you PM me access to ftp? Then I can see what is not working specifically in your store.

  5. #1615
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: SitemapXML v.2

    I figured I ask before I start ripping the code apart.

    Google has suggest that a client set the GTIN to false due to the fact none of his products have a UPC. Any suggestions.

  6. #1616
    Join Date
    Feb 2008
    Posts
    529
    Plugin Contributions
    0

    Default Re: SitemapXML v.2

    In my robot.txt file I have:
    Sitemap: http://www dot meafordwool dot com/sitemap dot xml

    Should I/Can I add http://meafordwool dot com/sitemap. dot xml ?

    I have both set up on google but for the non-www I get a 'pending' on the sitemap, while the www one shows as processed almost immediately.

    Thanks.

  7. #1617
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: SitemapXML v.2

    Quote Originally Posted by soxophoneplayer View Post
    In my robot.txt file I have:
    Sitemap: http://www dot meafordwool dot com/sitemap dot xml

    Should I/Can I add http://meafordwool dot com/sitemap. dot xml ?
    Of course you can. But why? You can not sit on two chairs.
    In Google Search Console goto Site Settings and set Preferred domain. If you install zen-cart to domain www dot meafordwool dot com, then set Preferred domain to www dot meafordwool dot com.

  8. #1618
    Join Date
    Aug 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: SitemapXML v.2

    Hi Andrew, will get that PM info to you shortly. Let me know what you find out.
    thanks.
    RJ

  9. #1619
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: SitemapXML v.2

    Quote Originally Posted by jeking View Post
    Do you keep this on GitHub by any chance?
    https://github.com/AndrewBerezin/zen-cart-sitemap-xml

  10. #1620
    Join Date
    Mar 2008
    Location
    USA
    Posts
    560
    Plugin Contributions
    0

    Default Re: SitemapXML v.2

    Hi Guys:

    I just installed sitemapXML and went back to Admin -> Tools -> Sitemap XML to Install Sitemap XML SQL and it's not there. I am running v1.5.4. I went back several times to make sure all of the files were uploaded properly. Don't know what happened? www.mygiftsite.com

    Any help is appreciated,

    Silver

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR