Announcement

Collapse
No announcement yet.

Featured Products with Prices

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Featured Products with Prices

    Is there a way to make the prices for each product display on the home page in the Featured Products section?

  • #2
    Yes, by modifying the template. Here is what my feature item block looks like in my home.html template file:

    Code:
    <!--START: FEATURE_MENU-->
    <!--START: CATEGORY_ITEMS-->
    <!--START: ITEM_TEMPLATE_0-->
    	<div>
    
    		<div class="home_thumb_holder">
    			<!-- <img src="assets/images/products/[id].jpg" class="home_thumb" alt="[name]"> -->
    			<img src="[image1]" class="home_thumb" alt="[name]">
    		</div>
    		<br>
    		<div class="center">
    		<a href="product.asp?itemid=[catalogid]" class="product-link">[name]<br>
    			<!--START: ITEMPRICE-->
    			[ITEMPRICE]
    			<!--END: ITEMPRICE-->
    		</a></div>
    		<br>
    	</div>
    <!--END: ITEM_TEMPLATE_0-->
    <!--END: CATEGORY_ITEMS-->
    <!--END: FEATURE_MENU-->

    Comment


    • #3
      Thanks for the reply.

      I've added some of your code to my home.html and it added a new link in each featured product box. So now I have the product name twice with the price below. When I went into the template editor and removed the 'a' tag with just the name, it had no effect on my home page.

      I tried something more drastic (just to test) and removed the thumbnail for each featured product in the code, but when I saved and viewed the site, again nothing was removed and I still had the product name twice.

      Now I've reverted back to original home.html and I'm just wondering, is there some delay with the template editor in the 3DCart store manager, or am I going about this the wrong way? Because even after reverting to the original file, I still have the product name repeating on my home page. And I've tried viewing in multiple browsers and clearing the cache.

      Comment


      • #4
        Hard to say without more info. Can you post the relevant portion of your home.html template file? And a link to the live site?

        Comment


        • #5
          Looks like there was some sort of delay, it's appearing as it should today. Thanks again for the help.

          Comment

          Working...
          X