Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Many NGG Gallery ID linked to few eStore Product ID
- This topic has 1 reply, 2 voices, and was last updated 12 years ago by admin.
-
AuthorPosts
-
November 21, 2012 at 3:35 am #7969dont4getdustinMember
Hello,
What I am doing with the site is selling school pictures. As of now, I have 3 schools with about 400+ students in each school. I have set up so that each student is in their own folder in the nextGEN gallery and 1 gallery is assigned to 1 page because they all need to be password protected. Each school prices their school pictures at different prices. For the first school, I went through and pasted the code:
[wp_eStore_cart_fancy1_when_not_empty]
[nggallery id=1 template=wp-eStore-auto-addtocart]
on each page and changed the id to the id of the gallery on the nextGEN folder and everything was great. I have made 2 different eStore Product ID’s with different prices and different variations. NGG Gallery ID for eStore Product ID 1 is also 1. the NGG Gallery ID for eStore Product ID 2 is 462 (that is the nextGEN gallery number ID for the first student listed in school number 2).
Price for school 1 is $12.00
Price for school 2 is $13.00
Price for school 3 is back to $12.00
The problem, the only student with the correct price for school 2 is the one with the nextGEN gallery ID of 462, and everything behind that returns to the wrong price. I can not seem to add more then just one NGG Gallery ID to the eStore Product ID. Is there a way do do this without making hundreds of new eStore Product ID and linking them to only 1 nextGEN gallery at a time? Is there another way to do this all together?
Also, I did find this tutorial: https://support.tipsandtricks-hq.com/forums/topic/using-multiple-estore-product-as-the-template-for-nextgen-gallery-integration
but I could not get it to work. Seems like if I could just add the -2 at the end of the code that is copied on all the pages to the one that needs to be higher, it would work out great. Does this still work? Thanks and I hope that I provided enough information for you to use and go off of!
November 22, 2012 at 1:57 am #51658adminKeymasterThe best thing to do for your setup is to make one gallery for each school (you are doing this already). Then make one eStore product for each school too. Now, assign eStore product to one of the galleries and you will be done.
This way it will be a clean setup and if later the price changes for the images of one school you won’t run into any kind of tangled issue.
Creating an eStore product for this purpose shouldn’t take you more than a few minutes. Remember, you can copy the details of one eStore product when creating a new one to make the job even easier.
-
AuthorPosts
- You must be logged in to reply to this topic.