trying o find the file to edit, or is it done through admin area. thanks
trying o find the file to edit, or is it done through admin area. thanks
im trying to change the display, or position of add to cart button. instead of bottom of the product listing page, i want to move it up to right underneath the product title.
is there a way to have two add to cart buttons on the product listing page?
Hard to say until we can see what you have now.
ok, here is a link to my site
http://jdmengines.org/jdm-honda-engi...wap-obd2-96-00
anyone, please?
The link you gave doesn't work. Something's bad with your so-called SEO URLs.
Nevertheless ...
Open the page in your browser.
Choose View Source from your browser menu.
Scroll down to the section you're bothered about moving. In the case of your add-to-cart button, you'll see this:Note the <!-- bof Add to Cart Box --> ('bof' is an abbreviation for "beginning of file") and corresponding end tag: <!-- eof Add to Cart Box-->Code:<!--bof Add to Cart Box --> <div id="cartAdd"> Add to Cart: <input type="text" name="cart_quantity" value="1" maxlength="6" size="4" /><br /><br /><input type="hidden" name="products_id" value="1" /><input type="image" src="includes/templates/premium8b/buttons/english/button_in_cart.gif" alt="Add to Cart" title=" Add to Cart " /> </div> <!--eof Add to Cart Box-->
Now go find those same tags in the template file (if you search using the Developers Toolkit, you'll find that it's tpl_product_info_display.php) and move that entire section up or down in the file as you desire, noting to NOT put anything between any other existing <bof>...<eof> markers.
ie: instead of this:
<bof product description>
<eof product description>
<bof add to cart>
<eof add to cart>
....
maybe you want something like this:
<bof add to cart>
<eof add to cart>
<bof product description>
<eof product description>
Do similarly with other sections as desired.
Then use any necessary CSS alterations to style things as needed.
Tutorial FAQ articles:
https://www.zen-cart.com/tutorials/index.php?article=38
https://www.zen-cart.com/tutorials/index.php?article=39
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
In fact, I just searched for your question in the FAQs area, and this article came up, which basically says the same thing as I just did:
https://www.zen-cart.com/tutorials/index.php?article=5
I'll update it with a bit more info from the comments I made above.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
thank you Dr.Byte . I am sorry that I missed the answer to the question in the FAQ section. Thank you for your help.
Bookmarks