osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Disable Buy Now Button in a Specific Category

This is a discussion on Disable Buy Now Button in a Specific Category within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Disable purchases within a specific category by replacing the add to cart button & disable the buy now button for ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 11-27-2007, 10:16 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,326
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Disable Buy Now Button in a Specific Category

Disable purchases within a specific category by replacing the add to cart button & disable the buy now button for that category... Edit only 2 files, very simple solution for a problem I spent over 30 days trying to find answers to.

What this will do is display a custom non-linking
image (or button) on the product_info.php page when you are viewing the details of a product within a certain category (here it is cPath=23)... Then if
you click on your specific category in the category
menu, you usually get a listing of products in that
category with buy now buttons displayed... we are keeping the buy now buttons, but instead of instantly adding the product to the cart when clicked, we are looping back to the working product_info.php page where our custom non-linking image/button appears.

More...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
add to cart button and detail button show on main page jikey osCMax v2 Customization/Mods 1 01-14-2007 05:13 PM
Remove certain boxes from specific category auntie22 osCMax v1.7 Discussion 1 10-25-2005 06:39 PM
Why is there a buy now button on the category title bar stevemitch2 osCMax v2 Installation issues 0 07-13-2005 11:43 AM
Does your "Buy Now" button work in category view? treb osCMax v2 Installation issues 7 06-21-2005 11:45 AM
Disable buy button on 0 quantity items Jood osCommerce 2.2 Modification Help 1 10-30-2003 12:36 PM


All times are GMT -8. The time now is 10:38 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax