disable cart features

Ask the community for help with CE Phoenix Cart.
Post Reply
ronc
Posts: 20
Joined: Sun Apr 25, 2021 1:19 am

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
User avatar
Kofod95
VIP Member
VIP Member
Posts: 668
Joined: Sat Feb 06, 2021 7:38 pm
Has thanked: 81 times
Been thanked: 146 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
PhoenixCart Developer
PhoenixCart Developer
Posts: 1362
Joined: Sat Dec 21, 2019 8:08 am
Has thanked: 40 times
Been thanked: 109 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
VIP Member
VIP Member
Posts: 2241
Joined: Mon Oct 07, 2019 4:39 am
Has thanked: 31 times
Been thanked: 205 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 :)
Post Reply