Embeding a dynamic block on the gallery page
Posted
#9650
(In Topic #3404)

Standard member

Using the dynamoc block but in a more specific way than it iappears to be designd for.
Again I am playing around with the Ecommerce and Shopping Card potential in Composr 10.0.43.
My site is an art based website and my current focus is in selling artwork directly from my page. I have gallery pages showing the artwork and know I can add a dynamic block for main_cc_embed on the gallery page. But when i add the main_cc_embed, the product catalogue lists all the other paintings in the catalogue too. I only want to list the one painting product that matches the one gallery image of the painting. Is there a way to define this so only the matching product will show on block that I put on the gallery page? Thank you.
My site is an art based website and my current focus is in selling artwork directly from my page. I have gallery pages showing the artwork and know I can add a dynamic block for main_cc_embed on the gallery page. But when i add the main_cc_embed, the product catalogue lists all the other paintings in the catalogue too. I only want to list the one painting product that matches the one gallery image of the painting. Is there a way to define this so only the matching product will show on block that I put on the gallery page? Thank you.


Last edit: by friendly
Art and Imagination
of David L Friend
http://davidlfriend.com
My Business Art Gallery
powered by ocPortal
Posted

Site director

What's the URL for the page viewing the product? That way I know the permalink structure you are using and can come up with an example.
- Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
- Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
- Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
- Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
- Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Posted

Standard member


The product list URL is Catalogues - Art and Imagination of David L Friend (See 2nd photo)

Art and Imagination
of David L Friend
http://davidlfriend.com
My Business Art Gallery
powered by ocPortal
Posted

Site director

My apologies, I just realized you said "gallery pages".
Here's what you could do: You can add a gallery custom field, the type being a reference to a products catalogue entry. Then, edit the gallery images and select the relevant product. Do the same from now on when adding.
Don't make the field required unless the only thing you use the galleries for is showcasing your products. Ideally the field should otherwise be hidden on gallery pages if they do not coincide with a product (e.g. the field is left blank).
Let me know how this goes for you.
- Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
- Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
- Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
- Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
- Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
1 guest and 0 members have just viewed this.