Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2013
    Location
    UK
    Posts
    49
    Plugin Contributions
    0

    help question Remove add to cart, and buy now when product is FREE and Virtual (downloadable)

    Hi All,

    Does anybody know how to get rid of the buy now and add to cart when the product is free and marked as virtual? I am also using the brilliant mod from delia extra_product_files which allows users to download without having to go through add to cart and checkout.

    But the page looks a little confusing when on the one hand it says FREE, the text says download and a button says add to cart!

    Any help appreciated.

    Bob

  2. #2
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Remove add to cart, and buy now when product is FREE and Virtual (downloadable)

    The way i would do is modify the template, and create an IF statement on the product_info page if the product was free/not free.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Remove add to cart, and buy now when product is FREE and Virtual (downloadable)

    Quote Originally Posted by bislewl View Post
    The way i would do is modify the template, and create an IF statement on the product_info page if the product was free/not free.
    Yes, that would be the route I would suggest to locate the area of code that presents the various options based on the cart settings or specific product settings. Unfortunately I don't recall the specific file location at the moment (but if you were to look at the plugin Checkbox TextBox Icon Product Checkout changes to one or more of the applicable files and location of where to apply similar changes is provided.)

    Basically saying, if you compare the files from the above package you can tell where a similar change would be necessary for you to code what you are wanting. Above plugin is found at: http://www.zen-cart.com/downloads.php?do=file&id=1811
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v150 Add to Cart and Buy Now buttons not working properly
    By hockey2112 in forum General Questions
    Replies: 4
    Last Post: 29 Oct 2012, 08:20 PM
  2. Add To Cart and Buy Now
    By thechrisroberts in forum General Questions
    Replies: 2
    Last Post: 2 Nov 2011, 08:33 PM
  3. What is difference between BUY NOW and ADD TO CART?
    By kevinmc3 in forum General Questions
    Replies: 5
    Last Post: 21 Jan 2011, 03:43 AM
  4. Remove 'Add to cart' and 'Buy Now' option
    By ss002d6252 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 12 Jan 2010, 04:12 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR