AbanteCart Community
Shopping Cart Operations => Support => Template Support => Topic started by: terror2012 on December 23, 2013, 09:39:36 AM
-
There I can find: <a data-id="145" href="#" class="productcart">Add to Cart</a>
I want to edit Add to Cart name on home page and product and I can't find this code.
It should be html file.
-
This can be in 2 places:
storefront/view/default_html5/template/blocks/product_list.tpl
storefront/view/default_html5/template/pages/product/product_listing.tpl
-
no, he isn't here. I just check both files.
-
:o
You did not notice it. Look again
<a data-id="<?php echo $product['product_id'] ?>" href="<?php echo $item['buy_url'] ?>" class="productcart"><?php echo $button_add_to_cart ?></a>
-
this code I find but I need to edit "Add to Cart" from <a data-id="145" href="#" class="productcart">Add to Cart</a>
I want to customize my store and I want to change add to cart to CrackOut (add to cart is too default :D). How can I edit in <a data-id="<?php echo $product['product_id'] ?>" href="<?php echo $item['buy_url'] ?>" class="productcart"><?php echo $button_add_to_cart ?></a> this text?
-
If you intend to edit code, you need to have a slight understanding of PHP/HTML.
But I do not understand why you need to edit code to change text. Why not change it in admin language definition edit?
See help video
If you need to go more advanced with your modifications, you have 2 option below
1. Learn basic PHP/HTML
2. Ask someone who knows PHP/HTML to help you with edits.
Hope this helps
-
thanks. This helped me a lot.