Search found 12 matches

by levelup
Tue Oct 07, 2025 3:55 pm
Forum: Community Help & Support
Topic: Adding Custom Sessions
Replies: 5
Views: 38370

Re: Adding Custom Sessions

Today I learned! Thank you, this will at least steer me in the right direction.
by levelup
Fri Oct 03, 2025 2:07 pm
Forum: Community Help & Support
Topic: Adding Custom Sessions
Replies: 5
Views: 38370

Re: Adding Custom Sessions

Could you explain what the SESSION value needs to do in the Phoenix part of your site ? For sure, so the session is created during a separate login before viewing the catalog. The login piece works fine and my only hiccup is including the session that is created after logging in into PhoenixCart. I...
by levelup
Fri Oct 03, 2025 1:17 am
Forum: Community Help & Support
Topic: Adding Custom Sessions
Replies: 5
Views: 38370

Adding Custom Sessions

I'm trying to figure out the best way to include a session that is created outside of PhoenixCart (but on the same domain). I've tried to create a hook to check and I wanted to see if I was on the right track. class hook_shop_system_sessionCheck { function listen_injectAppTop() { include($_SERVER['D...
by levelup
Wed Sep 03, 2025 2:39 pm
Forum: Community Help & Support
Topic: Adding new Sort Option
Replies: 5
Views: 28567

Re: Adding new Sort Option

TY for the kind words @levelup - appreciated. Back to this; I am not sure that just adding to the DB would make anything work in the Shop Side. If you set your new option to show, does it actually show in the Shop Side on the dropdown menu in the listings? If it does show, does it do what you want ...
by levelup
Tue Sep 02, 2025 9:34 pm
Forum: Community Help & Support
Topic: Adding new Sort Option
Replies: 5
Views: 28567

Re: Adding new Sort Option

What is the `Sort Option` you want to add ? I *think* it's possible with a Hook, but getting some more details from you, might help to illuminate a way forward. -- Side Note; always state Phoenix Version when asking for help. I figured it out, sorta, I just added what I'm looking to do (add a produ...
by levelup
Tue Sep 02, 2025 6:58 pm
Forum: Community Help & Support
Topic: Adding new Sort Option
Replies: 5
Views: 28567

Adding new Sort Option

Hi! I'm looking for a way to add another sort option for the dropdown for the product listing pages. I've added an image here for further context, but for the life of me, I cannot find a way to make any changes within the admin folders/files. Is this possible? If so, do you have any recommendations ...
by levelup
Wed Feb 19, 2025 5:20 pm
Forum: Community Help & Support
Topic: How To Use the Search class
Replies: 2
Views: 11908

Re: How To Use the Search class

https://github.com/CE-PhoenixCart/PhoenixCart/commit/dff3dcd3ae2408b4ba2bc6998514e1dbb882ce63 $search_keywords = Search::build($keywords) $keywords passed in => out come $search_keywords Yes, I saw this! I appreciate your confirmation that I was on the right track. Take care and thank you!
by levelup
Wed Feb 12, 2025 7:04 pm
Forum: Community Help & Support
Topic: How To Use the Search class
Replies: 2
Views: 11908

How To Use the Search class

I'm trying to wrap my head around the Search class so thank you in advance for any pointers you may send my way. I'm updating an old add-on that uses the deprecated parse string function: tep_parse_search_string($search_str = '', &$objects) Of course, that has since been replaced by the Search c...
by levelup
Mon Feb 14, 2022 3:21 pm
Forum: Community Help & Support
Topic: Adding Additional Details to Product Cards
Replies: 3
Views: 1959

Re: Adding Additional Details to Product Cards

"templates/default/includes/components/product_card.php": Copy that file to the override-template or whatever you might have as selected template. $product->get('link') Says from the class "product" execute the function "get" on the key inside the "()" Return...
by levelup
Fri Feb 11, 2022 4:59 pm
Forum: Community Help & Support
Topic: Adding Additional Details to Product Cards
Replies: 3
Views: 1959

Adding Additional Details to Product Cards

I'm attempting to update an old version (1.0.5) to the latest version and there are some custom buttons/details we need to add to the product card for the product listing page. So, for example, we want to add a model number and manufacturer info to the cards. How would we add this info exactly? I'd ...