Jump to content

Trying this and not works.. "replacing Cart button"


Recommended Posts

http://www.prestashop.com/forums/viewthread/58888/configuring___using_prestashop/remove_the_checkout_button__change_the_cart_link

I'm trying this and doesnt works, i want to replace Add to car for all parts for another button (contact us for order it) or something like that).

tried it and doesnt works, it's new install 1.3.1 version, default Themes.

Any help please?
Link to comment
Share on other sites

Ok, was trying to find the right code and found this:

removed this code from product.tpl and cart dissapear.

quantity == 0} style="display:none;"{/if} id="add_to_cart" class="buttons_bottom_block"><input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /></p> 



i'd like to redirect to contact-form.php instead to cart , how do i can get it works? tried putting into that code href="contact-form.php" and not works to me.

it's possible besides when customer click on that button, redirect to contact-form and automaticaly add a cell of put part# of part into text?

HOpe your reply please!!!

Thanks

Link to comment
Share on other sites

To replace the "Add to cart button" you can try this:

In global.css find the line 530 this is the code:

input.exclusive, input.exclusive_disabled, a.exclusive, span.exclusive { background-image: url('../img/button-medium_exclusive.gif') }




change the "button-medium_exclusive.gif'" to the name of the image you want to display .

Note: If you check "button-medium_exclusive.gif" the image has the tree states.

note 2: this will change all the buttons using that class, if you want to replace only the button "add tocart" you must override the style.

Hope this helps

Link to comment
Share on other sites

thanks for reply, what i want to do is replace funtions of add to cart by redirecting to order form, so customer only can order by sending me a mail for order everything.

hope replies please, i'd like try prestashop instead osccomerce.

Link to comment
Share on other sites

  • 3 years later...
  • 7 months later...

If you want additional buy button, you can try one of our module Buy More:

http://addons.prestashop.com/en/front-office-features-prestashop-modules/16917-buy-more.html

 

It allows you to add additional Buy buttons to your product view, like in this demo: 

http://demo.prestamusicshop.com/music/8-sunsearcher-sunsearcher-spirit.html

 

It works in Prestashop 1.5 and 1.6

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...