News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

create page based on filtering url

Started by 2cool, March 30, 2021, 09:10:15 AM

Previous topic - Next topic

pinochico

QuoteIf you have access to Regularlabs, we can join forces and work on it together.

Why do I have to feel that the Czechs are a nation that always pisses everything off, just to gain an advantage.
I'm not like that and I really appreciate Peter for what he does for Joomla. By the way, in my opinion, he belongs to the top who produces excellent products and I would have to be ashamed if I tried not to pay him for a license, because I know that selling licenses never, really never pays for the entire application development and tried to ask someone completely foreign if they would he did not disclose the license to me.

But as I wrote, I keep my fingers crossed, even though I think mine.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

2cool

Hmmm still not sure how this should work.

I have a filter (customfieldsforall) called color with options like; white, black, etc.
How can I create custom pages for each color?
As I can see while hovering over the filter options each color has it's own url.
But I can't figure out how to create this into seperat pages with title and description.

Thanks,
Pas

pinochico

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

2cool

I have the site local.
But it's the same as https://demo.breakdesigns.net/apparel/t-shirts/men-s-sport-t-shirt-detail
With url's like in color filter.
Blue showing url: https://demo.breakdesigns.net/results/t-shirts/?custom_f_4
  • =313737

    Hope you can explain how to create this.

    Regards,
    Pas

pinochico

great, i like talk about example

So, this URL == https://demo.breakdesigns.net/results/t-shirts/?custom_f_4
  • =313737
    You can put inside httacess and create your custom redirect == etc: https://demo.breakdesigns.net/results/t-shirts/blue

    So, the title is from category name == T-Shirt - OK
    Description (now not viible) will be too from category T-Shirt Description - you have to change in view for CF result or in category setup or CF setup

    Is this solutions what do you need or other? :)

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

2cool

Yes, now I know this should work, Thanks!

So I create a new item in joomla menu 'blue' selecting virtuemart category view.
In vm I also create a category 'blue' with title and description
In htaccess I use: Redirect /results/?custom_f_31[0]=313435 /colors/blue

And also the same for other colors.
Since I work local would this redirect also work? before I go nuts ;)

Regards,
Pas


pinochico

completely wrong :)

ok, I interrupt watching Champions League and try self
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

pinochico

#22
1. Where do you want use filter for color? == in which category?
2. You don't need create menu item - only if you want change title
3. You don't need create VM category - definitelly
4. You need only httacess

I have these:

#links to category
RewriteRule ^obchod/kola-a-elektrokola/nejnovejsi https://www.kolo-park.cz/obchod/kola-a-elektrokola/radit_podle,datum_vytvoreni?keyword= [L,R=301]
RewriteRule ^obchod/kola-a-elektrokola/elektrokola/nejnovejsi https://www.kolo-park.cz/obchod/kola-a-elektrokola/elektrokola/radit_podle,datum_vytvoreni?keyword= [L,R=301]
RewriteRule ^obchod/komponenty/nejnovejsi https://www.kolo-park.cz/obchod/komponenty/radit_podle,datum_vytvoreni?keyword= [L,R=301]
RewriteRule ^obchod/prislusenstvi-1/nejnovejsi https://www.kolo-park.cz/obchod/prislusenstvi-1/radit_podle,datum_vytvoreni?keyword= [L,R=301]
RewriteRule ^obchod/obleceni-1/nejnovejsi https://www.kolo-park.cz/obchod/obleceni-1/radit_podle,datum_vytvoreni?keyword= [L,R=301]
RewriteRule ^obchod/vsechny-produkty/nejnovejsi https://www.kolo-park.cz/obchod/radit_podle,datum_vytvoreni?keyword= [L,R=301]

You have to do it filter and result URL you have to put inside httacess.
Description and title is from category, which you filtering - this is basic function CF

Example:

https://demo.breakdesigns.net/results/t-shirts/?custom_f_4
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

2cool

Hope you had a good time watching PSG ;)

1. Where do you want use filter for color? == in which category? filter options will be almost on all pages (works fine with many other filter options)
2. You don't need create menu item - only if you want change title - I want to create separate pages for each filter color and add title and description for better seo.
So I can create a custom title from a new menu, and description from category? should I create new joomla or virtuemart category? I would like a description for each color (red, white, etc)


3. You don't need create VM category - definitelly - check ;)
4. You need only httacess - check ;) this is indeed different from what I suggested.

Hope this makes sense...

Thanks and regards,
Pas

pinochico

Oh yes, if you filtering basic VM category (ID=0) and you need custom description for every type of filters, I understand - that is problem

You need workaround:
- for every filter result you need create menu item type System / URL and setup title
- for every menu item you need fill meta description and this meta description you need load in CF Result page view - little custom php work

Menu items you can setup as submenu for menu Search result with alias as name of filter == then URL will be www.shop/result/red

But this url not exist (only virtueal), because in setup menu item you put URL with "?name-of-customfield" and maybe you have to add this URL in httacess to redirect (as I wrote) - you have to check and test.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

2cool

Thanks,

I'll try this setup as you described and let you know.
While testing local would this be a problem with the redirects?
- for every menu item you need fill meta description and this meta description you need load in CF Result page view - little custom php work - how and where should this be done?

Regards,
Pas

pinochico

> for every menu item you need fill meta description and this meta description you need load in CF Result page view - little custom php work - how and where should this be done?

yep, custom developing in PHP, but sorry I never send PHP custom develop in any forum,

you have to
- wait if other send you as free
- hire some PHP developer
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products