Support » Plugins and Hacks » Easy Digital Downloads - Software Specs » [Resolved] Displaying table after prices?

[Resolved] Displaying table after prices?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author isabel104


    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.

    <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,

    Plugin Author isabel104


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

    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 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Displaying table after prices?’ is closed to new replies.
Skip to toolbar