Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Photo Seller – Modify code to work as posts?
- This topic has 4 replies, 2 voices, and was last updated 9 years, 10 months ago by dwest100.
-
AuthorPosts
-
January 14, 2015 at 8:35 pm #12062dwest100Member
Hi, I realize the plugin is designed to work with a page structure.
However I want to sell my images from galleries within a post, thus combining blogging directly with the sale of the blogged images. Two reasons, Google loves blog posts that are regularly posted. And, more importantly, subscribers to the blog via email get the gallery included in their email and can directly click the links to go to the detail page for an image in which they are interested. They don’t have to think about it first…impulse buying is the goal here
Basically, I just need to eliminate the page that displays all the available galleries, modify the code so that creating a new gallery creates a post in draft mode rather than a page. And change the cart to go back to the post containing the gallery they were shopping from.
So, can you give me any ideas as to how I could approach editing the plugin to do that? Just some guidance to get me headed in the most efficient direction, such as which files to edit, whether the database structure has to change, etc.? Again, there would be no need for the “gallery” page to list all the galleries. Just the individual galleries in their respective posts and the detail page for selecting image options to add to the cart would suffice. And of course the cart
I’ve already modified the search code to find any image among all the galleries by multiple keywords and that takes care of people interested in particular subjects.
Any file references and database references would be much appreciated and I will be happy to share the results with you if you want them
January 14, 2015 at 11:03 pm #68015adminKeymasterYou can embed the gallery in your posts using a shortcode. Then the user can buy the photo directly from that blog post.
January 15, 2015 at 12:08 am #68016dwest100MemberThis is true. However, once the user is at the shopping cart and presses “back to gallery” they go to the gallery page, not the original post. That I need to fix so it returns to the original post. How can I do that?
Thanks!
January 16, 2015 at 7:32 pm #68017dwest100MemberClarification for other issues I’ve noticed in tinkering with this is as follows:
First Scenario-
User clicks image from gallery inserted in post.
Result is detail page.
User clicks view gallery on detail page.
User goes to home page of site (blog) instead of post where gallery was inserted.
Second Scenario-
User clicks image from gallery inserted in post.
Result is detail page.
User cycles to next image in detail page one or more times.
User clicks view gallery on detail page.
User is taken to previous image within the detail page.
Third Scenario-
User clicks image from gallery inserted in post.
Result is detail page.
User selects quantity and adds item to cart.
User clicks view gallery in cart success message.
User is returned to detail page.
Fourth Scenarion-
Similar to others but user is in cart and clicks continue shopping and is returned to detail page…should go to original blog post.
January 26, 2015 at 5:36 am #68018dwest100MemberAny answers regarding this?
-
AuthorPosts
- You must be logged in to reply to this topic.