Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › How to add a second product
Tagged: add to cart button not working, add to cart button reloads page, Contact Form 7, no product added to cart
- This topic has 12 replies, 5 voices, and was last updated 12 years, 4 months ago by Ivy.
-
AuthorPosts
-
December 6, 2011 at 10:27 pm #4960socialebooksMember
Hi,When i want to add a second product to my store i go to my estore page.There are to codes for the first product that i added. ( [wp_eStore_fancy1 id= 6] [wp_eStore_cart_when_not_empty]). How do i add the second product to my page.Is there a short code that separates the products.The problem i’m having is when i add the second under the first one the add to cart button link together.I know i must be doing something wrong here just can’t figure it out. Thanks.This is a great forum.
December 6, 2011 at 11:59 pm #39311PeterMemberHi,
When you create the second product it will have its own unique ID – for arguments sake let’s say it has value of 7.
Therefore to make the second product appear on your page simply use the same shortcode except this time use the ID for the second product. So your page might look like this:
[wp_eStore_fancy1 id= 6]
[wp_eStore_fancy1 id= 7]
[wp_eStore_cart_when_not_empty]
June 28, 2012 at 8:44 pm #39312evyibeMemberI want to know if you want to add the second and third product to the store ie 7 and 8, should I arrange them as you see them below in the same store page or should erase each one after adding. please I need help.I have like 550 books to add to the store.
[wp_eStore_fancy1 id= 6]
[wp_eStore_cart_when_not_empty]
[wp_eStore_fancy1 id= 7]
[wp_eStore_cart_when_not_empty]
[wp_eStore_fancy1 id= 8]
[wp_eStore_cart_when_not_empty]
June 29, 2012 at 12:46 am #39313PeterMemberHi,
If you want all of the above products to appear on the same post or page then simply place one [wp_eStore_cart_when_not_empty] at the end. That is:
[wp_eStore_fancy1 id= 6]
[wp_eStore_fancy1 id= 7]
[wp_eStore_fancy1 id= 8]
[wp_eStore_cart_when_not_empty]You can place as many products as you want on your page. You only need one shopping cart for them.
June 29, 2012 at 6:23 pm #39314evyibeMemberhi
Thank you so much peter, I added the books to my store now.I found out that my ADD TO CART BUTTON is no longer working. I dont know what I have done wrong. I added the books and updated it. when I click on add to cart button it bounces back. My site name is http://www.ebooksuniverse.com. Please I need your help.
June 30, 2012 at 12:27 am #39315IvyMemberIt looks like you have not added a cart or checkout page to your site. So when an item is added to the cart it looks like the page is just reloaded.
I would suggest placing the shopping cart widget in your side bar.
June 30, 2012 at 10:54 pm #39316evyibeMemberHi Ivy
Thank you so much for your urgent response.Please, explain to me step by step, how to add shopping cart widget to my side bar. secondly do I have to create a page for checkout. How do I go about it? please explain to me.
June 30, 2012 at 11:47 pm #39317adminKeymasterDo the following to add a sidebar widget:
1. Add a standard WordPress text widget to your sidebar
2. Then place the following shortcode inside that text widget:
[wp_eStore_cart]
Do the following to create a checkout page:
1. Create a WordPress page called “checkout”
2. Place the following inside that page:
[wp_eStore_cart]
July 2, 2012 at 5:25 pm #39318evyibeMemberThank you so much, I really appreciated your urgent responses.
July 4, 2012 at 11:51 am #39319evyibeMemberhi
please help me, I dont know what to do, I installed
contact form 7, my shortcodes stop working when i click
on the short codes i will receive this information
Fatal error: Call to undefined function wpcf7_add_tag_generator() in /home/ebooksuni/www/www/wp-content/plugins/contact-form-7/modules/text.php on line 152
pls i need your assistance.
July 4, 2012 at 12:33 pm #39320PeterMemberHi,
“my shortcodes stop working when i click on the short codes i will receive this information”
By the above, do you mean when you click on the Add To Cart button created by the shortcodes or something else?
In the meantime I recommend that you deactivate CF7 and then make sure that your eStore is working properly again.
July 4, 2012 at 1:20 pm #39321evyibeMemberHi
I mean when I want to add a page or post and click the short codes button. instead of displaying the short codes, the information above will come out. I deactivated CF7 and the short codes are working again. should I remove the cf7 entirely or are there some other things I should do.
I really appreciate your urgent response.
Thanks
evy
July 4, 2012 at 11:40 pm #39322IvyMemberThe error you are getting is from a bug in the latest version of Contact Form 7:
-
AuthorPosts
- You must be logged in to reply to this topic.