
Originally Posted by
kuroi
Ah. That would be the code that he warnsYes, I can see elements in your code such as his customer class for the div around the cross sell product data, but you would need to create your own CSS to go with this, both to style the content and to create its structure (since his code ignores the Zen Cart variables created to do this).
The missing closing form tag is, I now see, not missing. It's in its usual place at the bottom of the product_information panel. However, you can't nest your additional add to cart buttons inside it, as they too are forms. So you need to move them down, or more likely close your original form immediately after the original add to cart button.
Thank u very much
as you said I placed the </form> a little bit upper, right after (and like that:):
Code:
$myBuyNow = '';
$myBuyNow .= '</form>';
and it fixed the add to cart problem thanks!
as for the layout... would I need to change the code again? or just write the css file? and do I need to tell zencart to use this css file? or I just put it the css directory of my template?
thank u very much for helping me! 