Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2009
    Posts
    29
    Plugin Contributions
    0

    Default One Item/category To Disable Store Pickup

    Can I disable storepickup for just one item or category? At the moment I have this disabled as one item I sell must be sent by post (it is in the agreement with the wholesaler).

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: One Item/category To Disable Store Pickup

    You could set the $this->enabled to false based on the results of:

    For a Product in the Master Category 10 use:
    Code:
    $chk_count = $_SESSION['cart']->in_cart_check('master_categories_id','10');
    For a specific Product with products_id 12 use:
    Code:
    $chk_count = $_SESSION['cart']->in_cart_check('products_id','12');
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v151 Store pickup; category/product level discount
    By WetSteve in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 4 Sep 2015, 06:40 PM
  2. v139e Is it possible to disable buying only in one category?
    By Nandor in forum Managing Customers and Orders
    Replies: 51
    Last Post: 9 Apr 2013, 06:56 PM
  3. Pickup or NO shipping for only ONE category
    By Hammerhead in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 21 Apr 2009, 05:49 PM
  4. Disable product images in just one category?
    By dimar in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 10 Jul 2008, 02:42 PM
  5. In-store pickup only for some item
    By pglatz in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 11 Jun 2006, 10:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg