Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How Do You Create A Page That Shows All Products With A Proper Url Rate Topic   - - - - -

 

Posted 07 February 2018 - 01:11 PM #1

How Do You Create A Page That Shows All Products With A Proper URL

 

it's for www.eliteliquid.co.uk - the website only has 42 products.  For SEO purposes and ranking in Google I want to create a page that shows all these products with a proper, fixed URL.  How would I do this?



 
  • cscartrocks
  • Member
  • Members
  • Join Date: 24-Jan 11
  • 1637 posts

Posted 07 February 2018 - 01:13 PM #2

Create a category and assign all the products to it.


One Step Checkout Addon - The ultimate checkout experience
Best CS-Cart SEO addon - CS-Cart SEO Ultimate Addon
PM for quality custom work/project


 

Posted 07 February 2018 - 01:20 PM #3

Duh - haha thanks.  I was overthinking things!



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18348 posts

Posted 08 February 2018 - 05:05 AM #4

Also with our SEO Rules addon you can add seo rules for any URL. In your case it can be empty search which shows all items on one page:

index.php?dispatch=products.search&search_performed=Y&items_per_page=999 

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • cscartrocks
  • Member
  • Members
  • Join Date: 24-Jan 11
  • 1637 posts

Posted 09 February 2018 - 02:47 AM #5

Duh - haha thanks.  I was overthinking things!

 

You are welcome. :)


One Step Checkout Addon - The ultimate checkout experience
Best CS-Cart SEO addon - CS-Cart SEO Ultimate Addon
PM for quality custom work/project


 

Posted 14 February 2018 - 02:01 PM #6

If a category is hidden, google can still crawl it and customers can still find it via google (when ranked up) - correct?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18348 posts

Posted 15 February 2018 - 05:08 AM #7

If a category is hidden, google can still crawl it and customers can still find it via google (when ranked up) - correct?

 

Yes, if this category exists in the sitemap.xml or was indexed earlier


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 

Posted 12 September 2018 - 12:34 PM #8

How can I have one category page that shows all products.  I don't want this across the whole site, just this one category.  68 products on one page.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18348 posts

Posted 12 September 2018 - 01:50 PM #9

- enable My changes module

- create the app/addons/my_changes/controllers/frontend/categories.pre.php file

<?php

use Tygh\Registry;

if (!defined('BOOTSTRAP')) { die('Access denied'); }

if ($_SERVER['REQUEST_METHOD'] == 'POST') {
    return;
}

if ($mode == 'view') {
    if ($_REQUEST['category_id'] == 123) {
        Registry::set('settings.Appearance.products_per_page', 9999);
    }
}

- replace 123 with the required category ID

- save the file and check the result


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 

Posted 12 September 2018 - 02:10 PM #10

Thanks for suggestion.  Followed exactly, didn't work though.  Anything needs changing?

Capture3.jpg

<?php

use Tygh\Registry;

if (!defined('BOOTSTRAP')) { die('Access denied'); }

if ($_SERVER['REQUEST_METHOD'] == 'POST') {
    return;
}

if ($mode == 'view') {
    if ($_REQUEST['category_id'] == 7) {
        Registry::set('settings.Appearance.products_per_page', 9999);
    }
}


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18348 posts

Posted 13 September 2018 - 05:56 AM #11

Hm.. It works on my local installation. Try to delete var/cache directory and make sure that the My changes addon has the Active status


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 

Posted 13 September 2018 - 12:50 PM #12

Sorted, Thanks again