Jump to content


information

How Can I Get The Description To Display Before/above The Price?



3 replies to this topic

#1 ianvhilton

ianvhilton

    Advanced Member

  • Members
  • Others: All Plugins, Builder
  • PipPipPip
  • 51 posts

Posted 29 October 2013 - 03:32 PM

Hi Guys,

I'm trying to make the pitch before I hit em' with the price tag. Any tips on how I might swap the positions of the price and the description? Below you'll find a link to the page in question. Great work on the name your own price add-on!!!

http://hiltondesign.net/ima/product/donation/

hoping this message finds you well,

Ian

#2 Elise Alley

Elise Alley

    iThemes Support

  • Administrators
  • Others: All Plugins, All Themes, Members, Moderators, Toolkit, Webdesign
  • 5,192 posts
  • LocationOklahoma City, OK

Posted 30 October 2013 - 12:04 PM

Hi Ian,

The link you provided says it's restricted content, so I can't actually take a look at it!  :)  I should be able to help you out though.

If you go into ithemes-exchange/lib/templates/content-product/loops/, you'll find the product-info.php file.  You don't want to make changes to this file directly as any updates to Exchange would overwrite your changes.  So, instead, you'll want to copy that file and then in your theme, create a new set of directories, ex:  wp-content/themes/YOUR-THEME/exchange/content-product/loops.  Add the file into the "loops" folder.

In your new product-info.php file, you'll see this code on about line 18:

<?php foreach ( it_exchange_get_template_part_elements( 'content_product', 'product_info_loop', array( 'base-price', 'description', 'super-widget' ) ) as $detail ) : ?>

To put your content first, you'll switch the base-price and description options in that code.

<?php foreach ( it_exchange_get_template_part_elements( 'content_product', 'product_info_loop', array( 'description', 'base-price', 'super-widget' ) ) as $detail ) : ?>

Give that a try and let us know how it goes.

Thanks,

Elise

#3 ianvhilton

ianvhilton

    Advanced Member

  • Members
  • Others: All Plugins, Builder
  • PipPipPip
  • 51 posts

Posted 30 October 2013 - 04:27 PM

Elise,

That was awesome, I couldn't have figured that out if I had the next 6 months to work on it. I feel like a caveman watching a laser light show. Thank you a thousand times! I got rid of the restricted content membership filter & you can see the result here...

http://hiltondesign.net/ima/product/donation/

#4 Elise Alley

Elise Alley

    iThemes Support

  • Administrators
  • Others: All Plugins, All Themes, Members, Moderators, Toolkit, Webdesign
  • 5,192 posts
  • LocationOklahoma City, OK

Posted 30 October 2013 - 04:36 PM

Happy to have helped, Ian!  And it looks good!  :)

Let us know if you have any additional questions.

Thanks,

Elise



Reply to this Topic


ATTENTION
If this topic is marked RESOLVED or INFORMATION, or if you are NOT experiencing EXACTLY the same issue, please start a new topic to provide the details of your problem. If the solution provided doesn't work for you, you should start a new topic. If you feel this thread contains relevant information, you may include a link to it in your new topic. To ensure that we can process your support request efficiently, ALWAYS include a link to your site, and/or the page your request is related to. When posting your question or request on the forum, please be as concise and specific as possible. The shorter and more to the point you can make your request, the better.

For BackupBuddy related issues, be sure to include the status log from your most recent backup.

CLICK HERE to start a new topic in the Exchange ecommerce plugin forum.


  



Also tagged with one or more of these keywords: information

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users