0

If anyone is familiar with wordpress and the plugin shopp I am having an issue and no one on any other forum can seem to help me. I am running the plugin shopplugin which is a shopping cart. I want to the featured product to show up on the index page really big. I have tried a few variations of code and nothing seems to be working, I am not a WP expert, I just know a few things.

Here is the code on the index page:

<?php get_header(); ?>

		<div id="container">
			<div id="content" role="main">
				<h1 class="page-title">Latest Album: </h1>
                	<div id="shop">
                    <?php if (shopp('product','isfeatured')): ?>
                    <?php while(shopp('category','products')): ?>
                    
					<a href="<?php shopp('product','url'); ?>"><?php shopp('product','coverimage','size=800&fit=crop&quality=75'); ?></a>
					
                    <?php endwhile; ?>
                    <?php endif; ?>
                    </div>
			</div><!-- #content -->
		</div><!-- #container -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>

If anyone knows what I am doing wrong a point in the correct direction would be awesome! thanks!

2
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by bjeffries
0

I don't know how the plugin suppose to do. Any references or documentations provided ? Anyway, you can find the WP function references on WP official site. If you're getting the errors, post the errors here. Or if your site is running alive, provide the link here.

0

I am fully aware of the documentation and codex at the WP site. Shopp also supplies similar documentation and a template API, unfortunately you need to create an account and log in, in order to see it. I was able to get the code I already have using their API.

Here is the link anyway: http://docs.shopplugin.net/

(I am aware of their support and support forum, no one on there was able to help me)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.