Remove ADD TO CART function
Autor: Rav Ell
Visitado 922,
Seguidores 1,
Compartilhado 0
How could I possibly remove the add to cart button (Bottom Right) I want to use the commerce section as a Catalog Site with no prices for interim...
Thanks RAv
Publicado em
first remove the quanity field, go to your product list object, click on setting and remove the check mar for "show quanity field".
now for the second part:
there is no automatic way, right now the fastes way is to create your catalog, then export your website, go to your catalog page, open it with wordpad (if you publish inside your computer) then fine this line under every product:
<img style="cursor: pointer; position: absolute; bottom: 0; right:0;" width="16" height="16" src="cart/images/cart-add.png" onclick="x5engine.cart.ui.addToCart('yf4z98os', $('#product_1yf4z98os_qty').val(), $('#product_1yf4z98os_opt').val(), $('#product_1yf4z98os_subopt').val());" alt="Add" title="Add" />
</div>
then remove it, save your wordpad, open your page with your browser (like IE or mozilla) you will see that basket is gone
if this post is the correct answer, please mark this answer as correct answer.
------------------------------------------------------------
Good Luck
http://www.wdesigners.us (new)
http://www.usx5.com (coming soon)(Sign up)