Jump to content


information

How To Display All Description On Store Page



7 replies to this topic

#1 romaronline

romaronline

    Advanced Member

  • Members
  • Others: All Themes, BackupBuddy, Slideshow, Webdesign, Sync
  • PipPipPip
  • 244 posts

Posted 01 January 2014 - 02:03 AM

First time user here for exchange but its great except I can't figure out how to make the store page display with full description details instead of "view details" below the image.....thanks...url is   http://www.kristenableson.com/store/

#2 Elise Alley

Elise Alley

    iThemes Support

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

Posted 02 January 2014 - 10:37 AM

Hi romaronline,

There isn't an option to do this in Exchange at this time.  You are welcome to edit Exchange to accomplish this if you'd like and feel comfortable doing so.  You'll need to edit the template files do to accomplish this.  Instead of actually editing the template files, you'll copy them and place them in directories you'll create in your theme.  At the top of each file is information about where you would want to place that specific file.

Let us know if you have any additional questions.

Thanks,

Elise

#3 erwinodendaal

erwinodendaal

    Advanced Member

  • Members
  • Others: All Plugins, Builder, Webdesign, Toolkit
  • PipPipPip
  • 161 posts

Posted 22 March 2014 - 03:38 AM

Hi Elise,

Can you be more specific please?

Which templates files?
How do I edit them (what code to change/edit)?
Which directories do I have to create and where and which files do I have to put there?

#4 Elise Alley

Elise Alley

    iThemes Support

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

Posted 24 March 2014 - 01:50 PM

Hi erwinodendaal,

Probably the easiest way to accomplish this is copy the description.php file in /lib/templates/content-product/elements/.  Then, you'll place it in the exchange/store-product/elements/ directory you create in your theme.  Copy the product-info.php file in /lib/templates/content-store/loops/and add 'description' to the array on line 17 where you'd like it to show.  You'll then upload that file to the directory you'll create specifically for it in your theme which is noted for you in the product-info.php file.  

The directories you'd create will depend on the template files you're customizing.  You can read more about that in the codex here:  How Do I Edit My Template Files

Thanks,

Elise

#5 erwinodendaal

erwinodendaal

    Advanced Member

  • Members
  • Others: All Plugins, Builder, Webdesign, Toolkit
  • PipPipPip
  • 161 posts

Posted 25 March 2014 - 06:51 AM

Hi Elise,

I copied description.php file from '/lib/templates/content-product/elements/' to 'my_theme/exchange/store-product/elements/'
The code in this file is:
<?php if ( it_exchange( 'product', 'has-description' ) ) : ?>
<?php do_action( 'it_exchange_content_product_before_description_element' ); ?>
<div class="it-exchange-product-description">
  <?php it_exchange( 'product', 'description' ); ?>
</div>
<?php do_action( 'it_exchange_content_product_after_description_element' ); ?>
<?php endif; ?>

I copied 'product-info.php' file from '/lib/templates/content-store/loops/' to 'my_theme/exchange/content-store/loops' and added 'description' to the array on line 17 where I'd like it to show.
The code in this file is:
<?php do_action( 'it_exchange_content_store_before_product_info_loop' ); ?>
<?php foreach( it_exchange_get_template_part_elements( 'store_product', 'product_info_loop', array( 'title', 'base-price', 'description','permalink' ) ) as $detail ): ?>
<?php it_exchange_get_template_part( 'content-store/elements/' . $detail ); ?>
<?php endforeach; ?>
<?php do_action( 'it_exchange_content_store_after_product_info_loop' ); ?>


But there's is no description showing on the store-page products.

See: http://www.speerpuntencursus.nl/wp/inschrijven-store/

Erwin

#6 Elise Alley

Elise Alley

    iThemes Support

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

Posted 25 March 2014 - 11:01 AM

Hey Erwin,

I apologize.  The path for the description file should be exchange/content-store/elements/.  

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

Thanks,

Elise

#7 erwinodendaal

erwinodendaal

    Advanced Member

  • Members
  • Others: All Plugins, Builder, Webdesign, Toolkit
  • PipPipPip
  • 161 posts

Posted 26 March 2014 - 09:01 AM

Yep, that works!
Thanks.

#8 Elise Alley

Elise Alley

    iThemes Support

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

Posted 26 March 2014 - 09:05 AM

Glad that worked for you, Erwin.

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