If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / How do I embed a "add to cart" button to my product page?

How do I embed a "add to cart" button to my product page?

Locked

Started by rev_tim on 13 Nov 2008, 2:54 PM · Views: 3,361

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
13 Nov 2008, 2:54 PM
#1
rev_tim avatar

rev_tim

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

Post #1 by rev_tim

I've gotten my shopping cart working ok but, as it is, my customers have to click the "buy now" button on the product presentation page and then they have to click the "add to cart" button on the cart's individual product page.

I want to know if there's a way I can embed an "add to cart" button to the product page and a "checkout" link as well so a person can shop in my site without actually having to go to the shopping cart until it's time to check out. If yes, please direct me to where I can learn how to do it.

thanks very much.

13 Nov 2008, 3:13 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #2 by ajeh

If you just want to stop going to the shopping_cart each time a product is added to the cart, there is a switch in the Configuration ... My Store ... for this:

Display Cart After Adding Product
Display the shopping cart after adding a product (or return back to their origin)

true
false

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

13 Nov 2008, 4:17 PM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,758
Plugin Contributions:
0

Post #3 by Kim

Your URL?

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.

17 Nov 2008, 9:09 PM
#4
rev_tim avatar

rev_tim

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

Post #4 by rev_tim

One of the product page URLs is

SuccessHypnosis.com/quitsmoking

That is one I've got setup to go direct to the product page vs the cart index page.

17 Nov 2008, 9:12 PM
#5
rev_tim avatar

rev_tim

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

Post #5 by rev_tim

Ajeh:

If you just want to stop going to the shopping_cart each time a product is added to the cart, there is a switch in the Configuration ... My Store ... for this:

Thanks but I am trying to install an "add to cart" button to my product page so when a person clicks the button they go to the page one goes to AFTER they click the "add to cart" button inside the cart. Then I will see if I can change the "return to shopping" option to take them back to the site home page instead of back to the product they just bought.

Thx for the help so far.. i appreciate it.

22 Dec 2008, 4:05 PM
#6
rev_tim avatar

rev_tim

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

Post #6 by rev_tim

Still haven't gotten this figured out. Here is how I currently am working it.

http://www.successhypnosis.com/weight-loss

If you click on the "order now" link on the left sidebar or the "buy now" button at the bottom you come to the order page which requires another click to add the product to your cart.

Success Hypnosis Shopping Cart page

The concern is that to actually complete a purchase one must first click to the shopping cart, then click to add to cart, then click to checkout. I have been asked to reduce this by one click by making the "buy now" button on the sales page take the customer direct to the page you come to after clicking on the "add to cart" button inside the cart. Is this possible?

22 Dec 2008, 6:02 PM
#7
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Post #7 by barco57

So basically you have all of your products on already built html static pages and you want to jump over the product page in zen cart and go directly to the shopping cart and then back to the html pages when someone continues shopping......basically only using Zen Cart for its cart checkout process. ZC wasn't designed with that in mind and I see no reason your html pages couldn't be translated into Zen Cart and ZC used as it was designed.

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

23 Dec 2008, 9:34 PM
#8
rev_tim avatar

rev_tim

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

Post #8 by rev_tim

I understand your point. I guess the only reasons I would have trouble doing that is

a. I don't know how to edit the zen cart to have the same look as the sales pages I built.
b. I have several "product sales" pages for each product and don't know how to make several product sales pages for the same product using zen cart.

Currently I use a .dwt template for my website to facilitate editing. I can unwind that but still I don't know if I need to move the cart onto my html pages via php or move my design onto the cart pages.

Perhaps if you could point me in a direction to try to grasp how to accomplish this, I can see if it's within my marginal competencies. I know for sure it's unlikely to be within my core ones.

Thanks very much for any continued advice.

23 Dec 2008, 9:59 PM
#9
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #9 by gjh42

You say "several "product sales" pages for each product"... I only see one actual product page. The How it Works, Support and 100% Guarantee pages can be handled with linked ez-pages from the product page, very much like you have them now.
The main column HTML content of of your home page can be dropped into define_main_page.php in your Zen Cart admin > Tools > Define Page Editor, and the product content can be dropped into the product description in ZC, with some reconfiguring of the product info page layout. This can be relatively simple, not requiring programming knowledge.

23 Dec 2008, 10:45 PM
#10
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Post #10 by barco57

I agree, what Glenn said

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

26 Dec 2008, 9:58 PM
#11
rev_tim avatar

rev_tim

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

Post #11 by rev_tim

Very interesting. I think I'll set up a mirror site on another URL and play around with it and see what I can do.

Thanks for the help.

PS.. by other sales pages, they aren't linked from the home page but, particularly when using AdWords, it sometimes pays to create different sales pages with different keyword emphasis. This could result in 4 or 5 slightly different pages selling the same product but with slightly different content on the page.

20 Oct 2009, 12:40 AM
#12
slyboyishere avatar

slyboyishere

New Zenner

Join Date:
Oct 2009
Posts:
2
Plugin Contributions:
0

Post #12 by slyboyishere

Glenn said: "you have all of your products on already built html static pages and you want to jump over the product page in zen cart and go directly to the shopping cart and then back to the html pages when someone continues shopping......basically only using Zen Cart for its cart checkout process."

This is exactly what I was hoping to do. See: https://www.commonsenseprep.com

I installed ZC which was an e-commerce option from my host.

Glenn also said: "ZC wasn't designed with that in mind and I see no reason your html pages couldn't be translated into Zen Cart and ZC used as it was designed."

I am a complete newbie and I used coffee cup visual site designer a WYSIWYG tool to build my site. (still building but am down the road some at this point). So, Can you describe to me how I "translate coffecup html pages into Zen Cart? I didn't understand your explanation.

thanks!!

20 Oct 2009, 3:35 AM
#13
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #13 by gjh42

You need to learn the basic structure of Zen Cart pages to understand how the steps mentioned will be accomplished. This thread is not the place to do that; the tutorials will help you (link at top of page).