DivebombInc 6 Posted June 10, 2020 Is there a way to exclude things like 'Add to Cart' buttons and price based on the page or product ID? I want to add a gallery of our work and exclude the add to cart and price. OSCOM CE Phoenix v1.0.7.10 Share this post Link to post Share on other sites
Jack_mcs 1,020 Posted June 11, 2020 Yes, that is possible but it would require adding code in several places. But if you just want a page to display images, using a product page isn't the best way to do it. There are addons for that purpose. You will need to find one that works with your version of oscommerce. 1 DivebombInc reacted to this Support Links: Need Help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC version (the community-supported responsive version) here. How to Upgrade to the latest version Recommended SEO Addons Share this post Link to post Share on other sites
DivebombInc 6 Posted June 11, 2020 @Jack_mcs been looking all day and I haven't found one that works with Phoenix OSCOM CE Phoenix v1.0.7.10 Share this post Link to post Share on other sites
Jack_mcs 1,020 Posted June 11, 2020 There probably isn't one. Versions for Phoenix only get released if someone converts them. It is fairly common for popular and new addons. But for older ones that are not used by many sites, it probably won't happen unless someone is paid to convert it. Support Links: Need Help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC version (the community-supported responsive version) here. How to Upgrade to the latest version Recommended SEO Addons Share this post Link to post Share on other sites
♥peterpil19 179 Posted June 11, 2020 (edited) 6 hours ago, DivebombInc said: Is there a way to exclude things like 'Add to Cart' buttons and price based on the page or product ID? I want to add a gallery of our work and exclude the add to cart and price. One of the supporters code @burt has released for Phoenix blocks out the buy button if the product is out of stock. I believe this can be used to achieve what you are after - with some modifications. Suggest you consider becoming a Phoenix Supporter and contacting Gary directly about this. Edited June 11, 2020 by peterpil19 1 DivebombInc reacted to this CE PHOENIX SUPPORTER Support the Project, go PRO and get access to certified add ons Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design. Download the latest version of CE Phoenix from gitHub here Share this post Link to post Share on other sites
♥14steve14 625 Posted June 11, 2020 Why not just create a static page that includes all the images and text. Basic HTML will do that. Failing that look online for a php based image gallery and convert that to work with an oscommerce page. 1 DivebombInc reacted to this REMEMBER BACKUP, BACKUP AND BACKUP Get the latest Responsive osCommerce CE (community edition) here It's very easy to over complicate what are simple things in life Share this post Link to post Share on other sites
DivebombInc 6 Posted June 12, 2020 I thought about this and could do this easily. I wanted continuity across the site though with all pages looking the same. OSCOM CE Phoenix v1.0.7.10 Share this post Link to post Share on other sites
hungryfrank 62 Posted June 12, 2020 (edited) On 6/11/2020 at 2:10 AM, DivebombInc said: Is there a way to exclude things like 'Add to Cart' buttons and price based on the page or product ID? I want to add a gallery of our work and exclude the add to cart and price. you can turn it off in pi modules inn the admin section Edited June 12, 2020 by hungryfrank you can cut up to 4 pages of your checkout by using my three add_ons login create account in one page Express checkout login pop up modal Share this post Link to post Share on other sites
DivebombInc 6 Posted June 12, 2020 23 minutes ago, hungryfrank said: you can turn it off in pi modules inn the admin section That would effect all pages, even those that I want cart buttons and prices on. OSCOM CE Phoenix v1.0.7.10 Share this post Link to post Share on other sites
hungryfrank 62 Posted June 12, 2020 the code is in. pi buy_button.php. if ( $this->enabled ) { $this->group = 'pi_modules_' . strtolower(PI_BUY_GROUP); around line 28 you can juste edit it or Make a duplicate module 9 minutes ago, DivebombInc said: That would effect all pages, even those that I want cart buttons and prices on. you can cut up to 4 pages of your checkout by using my three add_ons login create account in one page Express checkout login pop up modal Share this post Link to post Share on other sites
kgtee 67 Posted June 13, 2020 Just add a condition if price = 999999, no show buy button. Will this do? Share this post Link to post Share on other sites
ArtcoInc 364 Posted June 13, 2020 @DivebombInc On 6/10/2020 at 2:40 PM, DivebombInc said: Is there a way to exclude things like 'Add to Cart' buttons and price based on the page or product ID? I want to add a gallery of our work and exclude the add to cart and price. On 6/12/2020 at 7:22 AM, DivebombInc said: I thought about this and could do this easily. I wanted continuity across the site though with all pages looking the same. Take one of the 'static' pages, such as 'Terms and Conditions'. Copy and rename it (both the code and the language files). Replace everything between the opening and closing 'contentContainer' divs with your gallery code. Finally, add the link(s) to your gallery where ever you want them (navbar, footer, etc). M 1 DivebombInc reacted to this Get the latest Responsive osCommerce CE (community edition) here . Share this post Link to post Share on other sites
DivebombInc 6 Posted June 15, 2020 On 6/12/2020 at 7:41 PM, kgtee said: Just add a condition if price = 999999, no show buy button. Will this do? This is what I was getting at. Based on some condition just exclude the cart button and price. Or if someone bought it for 999999, I could just retire and not worry about any of this. 1 kgtee reacted to this OSCOM CE Phoenix v1.0.7.10 Share this post Link to post Share on other sites
♥peterpil19 179 Posted June 16, 2020 13 hours ago, DivebombInc said: This is what I was getting at. Based on some condition just exclude the cart button and price. Or if someone bought it for 999999, I could just retire and not worry about any of this. You can also use stock quantity (in-stock). That might be better from the customer's perspective. Or set the price to zero and stock quantity to zero so customer can't checkout with the item (if you've disabled checking out with no stock in admin). Peter CE PHOENIX SUPPORTER Support the Project, go PRO and get access to certified add ons Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design. Download the latest version of CE Phoenix from gitHub here Share this post Link to post Share on other sites
ArtcoInc 364 Posted June 16, 2020 @DivebombInc "If all you have is a hammer, everything looks like a nail" If you want a gallery, make a gallery. Just because you could alter osC to become a gallery (sort of), should you? Don't try to make osC be something that it isn't. jmho Malcolm Get the latest Responsive osCommerce CE (community edition) here . Share this post Link to post Share on other sites