Totally Zenned
- Join Date:
- Sep 2005
- Location:
- Ocala, FL
- Posts:
- 527
- Plugin Contributions:
- 0
Post #21 by spawnie69
milkyway:
This is incorrect:
$product_addtocart=zen_href_link( $_GET['main_page'], 'products_id=' . $product_id .'&action=buy_now');
>
> It should be:
>
> ```php
$product_addtocart = zen_get_buy_now_button($featured_products->fields['products_id'],'<a href="' . zen_href_link($_GET['main_page'], zen_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $featured_products->fields['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_BUY_NOW, BUTTON_BUY_NOW_ALT) . '</a> ');
I am not a coder, I just use dreamweaver for html and some php editing.
Pardon my ignorance but can you please tell me where this PHP code gets inserted to?
Love what you did for your client, this is pretty much I would like.
Thanks
-spawnie69