jakestolte
Forum Replies Created
-
Forum: Plugins
In reply to: [Sell Media] Listing all collectionsThat would require manually adding each new collection to the menu every time and also wiring a new menu into my theme. I was looking for a way to display the names and pictures of all Collections automatically and have those names/pictures act as links to their respective archive pages. The Stock Photography theme on your website has behavior like this, and I was just trying to get some advice on how to emulate it.
I found a way just using wordpress’ terms functions to display the links as names, and it works well. Maybe some kind of option to do this in the plugin would be helpful?
Forum: Plugins
In reply to: [Sell Media] Best way to print a list of links to all collections?In case any one was curious I just solved my issue by using the built-in WP functions
get_terms()andget_term_link()based on the info I found on their pages. Here’s the code I used in my custom template file :<ul class="collections-list"> <?php $terms = get_terms( 'collection' ); foreach ( $terms as $term ) : ?> <?php // Sanitize the term, since we will be displaying it. $term = sanitize_term( $term, 'collection' ); $term_link = get_term_link( $term, 'collection' ); // If there was an error, continue to the next term. if ( is_wp_error( $term_link ) ) : ?> <?php continue; ?> <?php endif; ?> <li> <h3> <?php echo $term->name ?> </h3> <?php echo strip_tags($term->description); ?> <a href="<?php echo esc_url( $term_link ); ?>"> »View the <?php echo $term->name; ?> collection </a> </li> <?php endforeach; ?> </ul>Forum: Plugins
In reply to: [Sell Media] Listing all collectionsNot to open old topics, but how would we go about creating the functionality shown in Stock Photography in our own themes? Namely having a top level page of links to collections. I’ve tried the [sell_media_list_all_collections] shortcode but it doesn’t seem to be working…
Forum: Plugins
In reply to: [Sell Media] Item Quantity Field For Prints in Cart Popup?Okay thanks, I suppose I’ll just have to instruct users that they will be able to increase the quantity of the prints they would like to order on the checkout page. Not ideal, but if there isn’t any other way to do it we’ll make it work.
One more quick question: Is it possible for me to just use the old shopping cart? Or does it not work anymore with the newest version of the plugins and extensions?
-Jake.
Forum: Plugins
In reply to: [Sell Media] Item Quantity Field For Prints in Cart Popup?Hey there thanks for the response,
I guess what I’m looking for is the ability to get back the option to display all the sizes available for a specific print for sale, and also have the user able to select multiple quantities for each of those sizes in the same pop up.
I understand that I can alter the form in the
themes/cart.phpfile, but that seems to only apply to the form for the downloadable media, and not the reprints offered through the extension. Is there anything I can do within the extension files that will not get overridden through future updates?Thank you!