Easy Digital Downloads - Software Specs
[resolved] Displaying table after prices? (5 posts)

  1. jrstudio
    Posted 2 years ago #

    Hey Isabel,

    I was wondering if is possible somehow to display table after the prices and not after the content??



  2. isabel104
    Plugin Author

    Posted 2 years ago #

    The specs table is set to display after the prices (after the purchase button). The default order is: 1st the content, then the price/purchase button, then the specs table. If this is is not the case with your site, please give a link to it, so I can take a look and see if something else is disrupting the order.

  3. jrstudio
    Posted 2 years ago #

    <div class="eightcol">							
    								<div class="entry product-content">
    									<h2 class="title"><?php the_title(); ?></h2>
    									<?php the_post_thumbnail('product-image-large'); ?>
    									<?php the_content('Read the rest of this entry &raquo;'); ?>
    								</div><!--end .product-content.entry-->
    								<div id="commentsbox">
    									<?php comments_template(); ?>
    								</div><!--end #comments-->
    						</div><!--end .eightcol-->
    						<div class="fourcol last">
    							<div class="product-meta content">
    								<?php if(!edd_has_variable_prices($post->ID)) { ?>
    									<h4 class="single-product-price"><?php edd_price($post->ID); ?></h4>
    								<?php } ?>		
    								<?php echo edd_get_purchase_link($post->ID, 'Add to Cart', 'button', 'blue'); ?>
    								<div class="product-categories">
    									<?php the_terms( $post->ID, 'download_category', '<span class="product-categories-title">Categories:</span> ', ', ', '' ); ?>
    								</div><!--end product-categories-->
    								<div class="product-tags">
    									<?php the_terms( $post->ID, 'download_tag', '<span class="product-tags-title">Tags:</span> ', ', ', '' ); ?>
    								</div><!--end .product-tags-->
    							</div><!--end .product-meta-->
    							<?php the_widget('edd_cart_widget', 'title=Shopping Cart', $args); ?>
    						</div><!--end .fourcol-->

    I don't have the live version of the site, but here's the code I'm using. And soon as you've said that it should go after the prices, I figured it out that everything is fine. I forgot I'm using additional call for price and purchase button and I've put the main one in 'content' to display: none. My fault, I'm sorry. Thanks for very fast answer!

    PS. Was wondering if it is maybe possible to call table, for example to display it somewhere outside single-download page?

    Once more thanks, with regards,

  4. isabel104
    Plugin Author

    Posted 2 years ago #

    Your welcome. Where would you want display it? Like as a sidebar widget on the single page? Or rather on the downloads archive page?

  5. jrstudio
    Posted 2 years ago #

    Sorry for not answering, I've been really busy with exams and everything. Yea, putting it in sidebar of single-download page, because that would be a lot better for my case, because now I have to really re-code that single-download page and that code will not be pretty.

    But never mind, I'll manage something :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Easy Digital Downloads - Software Specs
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.