Forums / Templates, Stylesheets, Page Layout / Changing Add to Cart to Buy Now

Changing Add to Cart to Buy Now

Locked

Views: 1,826

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
14 Jan 2007, 1:51 PM
#1
manuals4free avatar

manuals4free

New Zenner

Join Date:
Jan 2007
Posts:
7
Plugin Contributions:
0

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

14 Jan 2007, 2:06 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

14 Jan 2007, 2:32 PM
#3
manuals4free avatar

manuals4free

New Zenner

Join Date:
Jan 2007
Posts:
7
Plugin Contributions:
0

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 :)

14 Jan 2007, 2:53 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

<!--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