Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add to Cart Button in Login Page


britchops

Recommended Posts

Posted

Hi

 

I'd like to use the following code to add an Add to Cart Button in place of the Continue button on the Login Page. I know this will stop new customers signing in - I want them to order first, then sigh in.

 

The code I have (from the product_info page) is:

 

<div class="buttonSet"> <span class="buttonAction"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_draw_button(IMAGE_BUTTON_IN_CART, 'cart', null, 'primary'); ?></span></div>

 

Unfortunately this messes with the Sign In side for Existing Customers. Could sb. please add or correct it for me?

 

Thanks

 

TJ

Posted

@@britchops

 

It won't work that way, you would have to rewrite the checkout process. I suggest working on the issues that were mentioned by members when you asked for a site review before trying to rewrite how the site functions.

 

 

 

Chris

Posted

Could you confirm that it is OK for me to use the added Add to Cart button below the £14.95 price on my product info page, then @:

 

http://britchops.co.uk/shop1/product_info.php?products_id=35

 

Thanks for your time.

 

TJ

 

PS I've covered most of the improvements mentioned - except getting a new template. I'll have to get a custom design template as my business doesn't fit a straight music or ebook store. Unless you have anything on your site Chris?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...