Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    7
    Plugin Contributions
    0

    Default Changing Add to Cart to Buy Now

    Hi,

    Im new to this, so any help would be greatly appreciated in the simplest terms possible!

    I am basically creating a site where people can download products for free, but i dont want them to just be able to add every product to my cart and check it out all in one hit.

    Ideally, we are looking to skip the entire shopping cart procedure so when a customer views an item, the only option is 'download now' and then they get taken straight to the checkout. Thus meaning they can only get one item at a time.

    Is this possible? If so can anyone please guide me through exactly what i need to edit etc.


    Thank you in adavnce for any help you can give me

    Steve

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Changing Add to Cart to Buy Now

    As the main object of a cart is to sell sell sell!!! there is no current built in way to limit items purchased. This would require changing the functions as currently when an item is added the shopper is taken to the basket but is offered check out and continue shopping... It might be possible to remove the continue shopping function but that does not prevent one from repeating this ??times in say an hour or day.

    What is it really worth?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: Changing Add to Cart to Buy Now

    Thanks kobra.

    So how would i remove the continue shopping button? I guess that would help to some extent.

    Thanks again :)

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Changing Add to Cart to Buy Now

    Start by removig the display of the button:

    In a copy of this file placed in /your template /templates folder

    tpl_shopping_cart_default.php

    find and remove the red code check and see if it did not break anything if it did just delete your copy
    Code:
    <!--bof shopping cart buttons-->
    <div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a>'; ?></div>
    <div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_CONTINUE_SHOPPING, BUTTON_CONTINUE_SHOPPING_ALT) . '</a>'; ?></div>
    <?php
    // show update cart button
      if (SHOW_SHOPPING_CART_UPDATE == 2 or SHOW_SHOPPING_CART_UPDATE == 3) {
    ?>
    <div class="buttonRow back"><?php echo zen_image_submit(ICON_IMAGE_UPDATE, ICON_UPDATE_ALT); ?></div>
    <?php
      } else { // don't show update button below cart
    ?>
    <?php
      } // show checkout button
    ?>
    
    <!--eof shopping cart buttons-->
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Add To Cart and Buy Now
    By thechrisroberts in forum General Questions
    Replies: 2
    Last Post: 2 Nov 2011, 08:33 PM
  2. No BUY now or add to cart.
    By diddydecoy in forum Customization from the Admin
    Replies: 1
    Last Post: 22 Oct 2011, 08:36 PM
  3. buy now vs add to cart
    By creff in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 28 Oct 2009, 05:25 AM
  4. changing add # to cart to buy now
    By LizzyB in forum General Questions
    Replies: 4
    Last Post: 19 Mar 2009, 01:00 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