Hey
Is it possible to change the location of the "add to cart" button (along with the quanity in stock etc) to the top of the products page, instead of at the bottom? (so above the description)
Hey
Is it possible to change the location of the "add to cart" button (along with the quanity in stock etc) to the top of the products page, instead of at the bottom? (so above the description)
Got it! Finally after 1 hour of searching.
Mods may delete this post.
Might be an idea to post where you found info you requiredGot it! Finally after 1 hour of searching.
so other visitors here can benefit
![]()
For any other members looking to move add to cart button, details
can be found at
http://www.zen-cart.com/forum/showth...ve+cart+button
![]()
i have a question along the same lines..
i'd like to move my add to cart button within the add-to-cart box, so that it sits next to the quantities box, rather than below it. ive taken a look at the tpl_product_info_display.php and can't locate a break or anything that is forcing the button to sit below the quantity box.
thanks,
mel
just figured it out. i took the two <br />'s out of the Add to Cart Box section within the tpl_product_info_display.php. check out the bolded code below:
// show the quantity box
$the_button = PRODUCTS_ORDER_QTY_TEXT . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" /><br />' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '<br /> .' zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
Last edited by mellonade; 6 May 2007 at 09:36 AM. Reason: php box didnt show up
I'm really tired of going through all these posts on the site and everyone says it is so simple to just move the <!--bof Add to Cart Box --> through the <!--eof Add to Cart Box --> to move the Add to Cart button somewhere else on the page.
It doesn't work for me. I can take it off the page and it still shows up. I have even deleted the tpl_product_info_display.php from the site from both my custom template directory and the template_default yet the page still shows up unless... there are no attributes on the page, then it disappears.
What the heck is going on? Why can't I move the Add to cart button under the Attributes box?
http://rememberthewater.com/zencart/...roducts_id=183
This is very frustrating.
So, deleting the product_info_display.php probably wont solve the problem of moving the attributes box to below the Add to Cart box. You are right, you should be able to select from <!--bof Add to Cart Box --> through the <!--eof Add to Cart Box -->, cut it, and then paste it below <!--eof Attributes Module --> in your tpl_product_info_display.php. that template file is the page that determines the ordering of your product info pages. so thats where you should move code around to get the display order you like. maybe try cutting and pasting again, just make sure youre cutting all the code you need and then pasting in the right place.
sorry to hear youre having so much trouble!
Hi,
I am not sure if this thread is still open, however, if enybody who knows how to solve the problem, finds this posting, I would really appreciate the answer.
My server admin uploaded the zen template from some clothing store including all of their pics and banners. I deleted all of their stuff, and now that I've set up my own store and merchandise, I don't have the add to cart button on my zen cart. I made all the connections to the mechant services and everything is ready to go, but I just can't figure out how to get the add to cart button on the page. Can somebody help me with that?![]()
Admin>Configuration>MyStore>StoreMode>
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
Bookmarks