disable cart features

Open to all! Ask other shopowners for help.
ronc
Member
Posts: 30
Joined: Sun Apr 25, 2021 1:19 am
Phoenix Version:
Has thanked: 3 times

disable cart features

Post by ronc »

I am hoping to use Phoenixcart as more of a show case of products we have available.
We want all item features pictures, picture gallery, description.
We want to disable the cart, add to cart and checkout and replace pricing with something like CALL.
We want all features to work except to actually add to cart and checkout as terms change and paperwork is necessary to finalize the deal.
Is there addon(s) to do this or another way

If I haven't been clear please let me know


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
Kofod95
Senior Contributor
Posts: 748
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times

Re: disable cart features

Post by Kofod95 »

You can just uninstall the "Add to cart" module on product_info and make sure that the configuration for show buttons is set to false. For good measure, you can uninstall the "Continue" button in the shopping_cart, and if you want to be absolutely sure, you can add a hook that redirects from the pages in checkout and from the shopping_cart.
Check out "Tips & Tricks" in the User Guide for more info on hooks, as well as an example that should give you what you need.

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Has thanked: 70 times
Been thanked: 152 times

Re: disable cart features

Post by raiwa »

Kofod95 wrote: Fri Nov 08, 2024 8:39 am if you want to be absolutely sure, you can add a hook that redirects from the pages in checkout and from the shopping_cart.
My Store Mode addon can do this.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: disable cart features

Post by heatherbell »

ronc wrote: Fri Nov 08, 2024 6:30 am We want to disable the cart, add to cart and checkout and replace pricing with something like CALL.
Specific actions depend on your installation and version.
We did this for a 1.0.8.21 store, demo here - https://psiwebsites.com/themes/10821/index.php
We disabled the following modules:
Modules > Navbar > Shopping Cart
Modules > Navbar > Currencies
Modules > Content > Price (product_info Group)
Modules > Layout > Buy Button
We added to the user.css file which hides the Price and View/Add To Cart buttons:

Code: Select all

.card.is-product .card-subtitle,
.card.is-product .card-footer {
  display:none;
}
We installed app.php/addons/paid_addon/product_layou ... s_message/ which shows any Message and/or Link desired on the product page.
The standard Modules > Header Tags > Robot NoIndex configuration should already prevent backlinks to checkout pages and there are now no links to checkout pages in the store. With all add to cart disabled, even direct access to the checkout pages would result in "Your Shopping Cart is empty!" and proceeding through checkout is not possible so we did not see this as an issue to fix.

If my time has saved your time, then Buy Me A Beverage :)
ronc
Member
Posts: 30
Joined: Sun Apr 25, 2021 1:19 am
Phoenix Version:
Has thanked: 3 times

Re: disable cart features

Post by ronc »

Hi everyone

Thanks for the tips will be trying them out before year end. Will follow up afterwards. Everyone has been so helpful.

Ron
ronc
Member
Posts: 30
Joined: Sun Apr 25, 2021 1:19 am
Phoenix Version:
Has thanked: 3 times

Re: disable cart features

Post by ronc »

Thanks for the suggestions. Works like a charm. The site is exactly what is needed. Thank you to Raiwa, Kofod95 and Heather Bell
ronc
Member
Posts: 30
Joined: Sun Apr 25, 2021 1:19 am
Phoenix Version:
Has thanked: 3 times

Re: disable cart features

Post by ronc »

Hi Everyone:

Thanks for all of the help on this. We followed Heather's instructions on this thread except the addon part at the bottom. We are now upgraded to 1.1.0.3 and now when we try to add/edit a product we get a blank white screen. By chance do you know if any of those adjustments would cause that issue? Thank you in advance.

Update: I think I see the problem. The user.css has been replaced. I assume I should copy user.css to the default folder and add the changes. Which folder is proper to put it in?
Last edited by ronc on Tue Sep 16, 2025 6:16 pm, edited 1 time in total.
User avatar
burt
Core Team
Posts: 4546
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: disable cart features

Post by burt »

Check your hosting error_log. If you do not have access or cannot find it, consult your host.

Once you know what the error_log says, post back.
I am not here to build for you.
I am here to build with you. Let's help each other.
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: disable cart features

Post by ecartz »

ronc wrote: Tue Sep 16, 2025 5:38 pm Update: I think I see the problem. The user.css has been replaced. I assume I should copy user.css to the default folder and add the changes. Which folder is proper to put it in?
Copy from the default folder to override.
ronc
Member
Posts: 30
Joined: Sun Apr 25, 2021 1:19 am
Phoenix Version:
Has thanked: 3 times

Re: disable cart features

Post by ronc »

Thanks Burt. I have this error in my phoenixcart admin logs. Phoenixcart is maintained by Installatron just so you know.

[16-Sep-2025 19:15:34 Europe/London] PHP Fatal error: Uncaught mysqli_sql_exception: Table 'i10133067_hygb1.importers' doesn't exist in .../includes/system/versioned/1.0.8.1/database_core.php:67
Stack trace:
#0 ...includes/system/versioned/1.0.8.1/database_core.php(67): mysqli->query()
#1 .../includes/system/versioned/1.0.8.1/database_core.php(130): database_core->query()
#2 .../admin/includes/actions/catalog/views/new_product.php(45): database_core->fetch_all()
#3 .../admin/catalog.php(48): require('/home/r811lt2qp...')
#4 {main}
thrown in .../includes/system/versioned/1.0.8.1/database_core.php on line 67

does this help or is there something else I can find.

I also added this update
Update: I think I see the problem. The user.css has been replaced. I assume I should copy user.css to the default folder and add the changes. Which subfolder is proper to put it in?


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply