Zen Follower
- Join Date:
- Oct 2007
- Posts:
- 134
- Plugin Contributions:
- 0
anyone know the php code for the 'add to cart' button
so i can add it in on another page.
thanks
Views: 1,673
Zen Follower
so i can add it in on another page.
thanks
Zen Follower
This perhaps:
<?php
echo $display_button;
?>
..but wait for someone else to confirm.
Black Belt
The button display needs to occur inside a <form> or it will be just a pretty graphic that does nothing useful. Look at a file that currently uses the add to cart for an example of how to do that, like tpl_product_info_display.php.
Tell staff why this post should be reviewed.