Page 1 of 2

disable cart features

Posted: Fri Nov 08, 2024 6:30 am
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

Re: disable cart features

Posted: Fri Nov 08, 2024 8:39 am
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

Re: disable cart features

Posted: Fri Nov 08, 2024 8:50 am
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.

Re: disable cart features

Posted: Sun Nov 10, 2024 7:33 am
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 :)

Re: disable cart features

Posted: Sat Dec 07, 2024 12:44 pm
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

Re: disable cart features

Posted: Fri Jan 03, 2025 2:59 pm
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

Re: disable cart features

Posted: Tue Sep 16, 2025 5:38 pm
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?

Re: disable cart features

Posted: Tue Sep 16, 2025 6:13 pm
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.

Re: disable cart features

Posted: Tue Sep 16, 2025 6:24 pm
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.

Re: disable cart features

Posted: Tue Sep 16, 2025 6:31 pm
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?