Quote Originally Posted by cartguin View Post
digilu, this doesn't answer your question* but why not keep Zen Cart's default Add To Cart function so it is omnipresent?

*...because I have no clue how you coded the Description tab.

Looking at the ReadMe/Help doc, I imagine you used [FONT=Courier New]<!--*sub_AddToCart(1)*-->[/FONT] in the product description? If yes, then I too probably had your problem along with several others when testing TPP and in the end -- because I found TPP's requirement of using its tags in the product description rather cumbersome -- I overhauled the mod, making it truly, 100% dynamic.

Rather than having "Tabs [that] are created dynamically from the use of tags in the product description", my tabs are created dynamically without relying upon any user input whatsoever. Meaning, staff did not need to learn and use TPP's tags system when adding/editing product descriptions. The staff continues to behave as if the mod was never installed.
The issue unfortunately is this is a Template Monster template, and these templates are ALWAYS a hacked mess.. (sorry.. had to say it)

These templates LOOK good, and are usually constructed using hacked code which does NOT follow Zen standards AT ALL. I suspect that digilu's main product page is constructed in some non standard way to accommodate the design that the Template Monster hacks were trying to achieve. Try merging this modules code with a hacked product page, and you get he issues he is having..

I am 100% positive, that he would not be having ANY of these issues if he were to try testing this mod on the Classic template..



Quote Originally Posted by digulu View Post
Thanks DivaVocals.
Will it there be any to fix it? I am not a programmer or php expertise. Can I put add to cart on the top of the tab and will this fix it?
Thank you
It is hard for any of us to really help because your TM template is NOT constructed using standard Zen Code, rather it is the Zen Cart code hacked up by Template Monster.

Unfortunately your Template Monster template will likely not have a QUICK fix. They (Template Monster) tend to use their own style classes and IDs, divs nested to hell, and other un-orthodox crap.. The RIGHT way to fix your problem IMO is to ditch the product page that came with the template, and rebuild it by starting with the default product page and properly applying the look and feel using Zen Cart standards versus hacking the code into submission like Template Monster does..

I know that's not what you want to hear, and based on your posts you are clearly looking for a different answer (quick fix).. I wish you luck, but IMO the time you are spending on trying to fix this hacked code could be better spent re-building this page the right way and be done with it..

Like I said, people use templates because they THINK it's an INSTANT design solution.. and they can be if the template is properly constructed.. However, NONE of the Template Monster templates are properly constructed.. Truthfully, Template Monster promised you a working Zen Cart template.. THEY should provide the correct product page code to work with TPP..