Jump to content

Add to cart button


Recommended Posts

on product.tpl add the following js
 

<script type="text/javascript">
    $("document").ready(function(){

        //firstly hide the add to cart button on page load
        $("#add_to_cart").hide();

 

       //after final customization when customer click on save image button, show add to cart button
        $("input#infobia_save_image#infobia_save_image").click(function(){
            $("#add_to_cart").show();
        });
    });
</script>

Edited by shailendra (see edit history)
Link to comment
Share on other sites

so, code that you pasted above works for you?

i checked your website, i don't see there add to cart button

also i don't see customization field in "product customization" tab too

i have suggested the code as per requirement of the website which Fidel62 provided here, Yesterday there was an "add to cart button" on product page and he is using a module to customize products, which can be found here at http://shop.infobia.tn/en

Edited by shailendra (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...