Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Custom buy now buttons


dailce

Recommended Posts

Posted

Basically I want to have 2 kinds of buy now buttons on pages through my site.

 

1 with a quantity box and the other without

 

The button also has to be in the likes of a form not a link.

 

 

Also, if I have a hidden field for submitting like

 

echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_buy_now.gif', IMAGE_BUTTON_IN_CART);

 

is it serving the same purpose for the form as

 

<input type="submit" class="addtocartbutton" value="Add to Cart" title="Add to Cart" />

Posted

try

<?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_buy_now.gif', IMAGE_BUTTON_IN_CART); ?>

 

have you uploaded the button_buy_now.gif to right directory?

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Archived

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

×
×
  • Create New...