Forums / Templates, Stylesheets, Page Layout / Home page products not changing

Home page products not changing

Views: 601

Results 1 to 5 of 5
18 Aug 2011, 11:00 PM
#1
kiyoukan avatar

kiyoukan

New Zenner

Join Date:
Nov 2010
Posts:
3
Plugin Contributions:
0

Home page products not changing

my site
http://www.miinspirations.com/index.php?main_page=index
On the home page there is a box containing featured products however it refuses to change their prices or images.
I go in and just change the price and it wont update.
Idk if this is a different code or what but i need some help.
If there is any way to get this to change i will be great full.
This is a template a friend emailed to me and he is gone for a month so im trying to figure it out.
i found it in the source code.

<div class="carousel-box"> <a class="prev"></a> <a class="next"></a> <div class="inner">
	  <div class="carousel">
		  <ul>
			  <li>
				  <div class="img">

					  <a href="index.php?main_page=product_info&cPath=3&products_id=1"><img src="includes/templates/theme475/images/01.jpg" alt="" width="188" height="216" /></a>					  </div>
				  <div class="prod-info">
					  <a href="index.php?main_page=product_info&cPath=3&products_id=1">Double Heart Diamond Accent Pendant in 14k Gold</a>					  </div>
					  <div class="wrapper">
						  <div class="price">
							  $299.00							  </div>
						  <div class="button">

							  <a href="index.php?main_page=product_info&cPath=3&products_id=1"><img src="includes/templates/theme475/buttons/english/button_goto_prod_details.gif" alt="" width="40" height="15" /></a>							  </div>
					  </div>
			  </li>

but i dont know where to change what its showing and how its getting it.

18 Aug 2011, 11:10 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,883
Plugin Contributions:
20

Re: Home page products not changing

  1. You have a Template Monster template.
  2. You have links going anywhere but where they are supposed to.
  3. You have a Template Monster template.
  4. Hard-coding links in the site will come back to haunt you immensely when they are changed.
  5. Did I mention that you have a Template Monster template? Nothing can screw up Zen Cart more. Except when you start trying to make any changes.:censored:
  6. I'd go back to classic and see if the links work from there. If so, regroup slowly step by step to try to get it working. Don't add any mods till the TM template is working. Unfortunately, that may never happen.:no:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

18 Aug 2011, 11:13 PM
#3
kiyoukan avatar

kiyoukan

New Zenner

Join Date:
Nov 2010
Posts:
3
Plugin Contributions:
0

Re: Home page products not changing

well thats true but it looked soo nice...
i am even trying to remove it. and that isnt easy as well.
going to see what happens when i set it back to normal any one know where the code may be that doing it?
or maybe contact TM and see if and what they can do...

update.
Well the classic works.
and the links are the same.
So somewhere in the css or else where is a file that changes how these act...

18 Aug 2011, 11:22 PM
#4
kiyoukan avatar

kiyoukan

New Zenner

Join Date:
Nov 2010
Posts:
3
Plugin Contributions:
0

Re: Home page products not changing

update again
i found the following code in tpl_main_page.php

<div class="carousel-box"> <a class="prev"></a> <a class="next"></a> <div class="inner">
	  <div class="carousel">
		  <ul>
			  <li>
				  <div class="img">
					  <a href="index.php?main_page=product_info&cPath=3&products_id=1"><?php echo zen_image(DIR_WS_TEMPLATE.'images/01.jpg'); ?></a>					  </div>
				  <div class="prod-info">
					  <a href="index.php?main_page=product_info&cPath=3&products_id=1">Double Heart Diamond Accent Pendant in 14k Gold</a>					  </div>
					  <div class="wrapper">
						  <div class="price">
							  $299.00							  </div>
						  <div class="button">
							  <a href="index.php?main_page=product_info&cPath=3&products_id=1"><?php echo zen_image(DIR_WS_TEMPLATE.'buttons/english/button_goto_prod_details.gif'); ?></a>							  </div>
					  </div>
			  </li>
			  <li>
				  <div class="img">
					  <a href="index.php?main_page=product_info&cPath=3&products_id=2"><?php echo zen_image(DIR_WS_TEMPLATE.'images/02.jpg'); ?></a>					  </div>
				  <div class="prod-info">
					  <a href="index.php?main_page=product_info&cPath=3&products_id=2">5/8 ct. 14k White Gold Past, Present and Future Diamond Ring </a>					  </div>
					  <div class="wrapper">
						  <div class="price">
							  $2.049.00							  </div>
						  <div class="button">
							  <a href="index.php?main_page=product_info&cPath=3&products_id=2"><?php echo zen_image(DIR_WS_TEMPLATE.'buttons/english/button_goto_prod_details.gif'); ?></a>							  </div>
					  </div>
			  </li>
			  <li>
				  <div class="img">
					  <a href="index.php?main_page=product_info&cPath=3&products_id=3"><?php echo zen_image(DIR_WS_TEMPLATE.'images/03.jpg'); ?></a>					  </div>
				  <div class="prod-info">
					  <a href="index.php?main_page=product_info&cPath=3&products_id=3">Diamond Accent Butterfly Pendant In 14K White Gold With Chain </a>					  </div>
					  <div class="wrapper">
						  <div class="price">
							  $779.00							  </div>
						  <div class="button">
							  <a href="index.php?main_page=product_info&cPath=3&products_id=3"><?php echo zen_image(DIR_WS_TEMPLATE.'buttons/english/button_goto_prod_details.gif'); ?></a>							  </div>
					  </div>
			  </li>
			  <li>
				<div class="img">
						<a href="index.php?main_page=product_info&cPath=3&products_id=4"><?php echo zen_image(DIR_WS_TEMPLATE.'images/04.jpg'); ?></a>					  </div>
				  <div class="prod-info">
					  <a href="index.php?main_page=product_info&cPath=3&products_id=4">3/4 ct. of diamond brilliancedelicate ring- one-of-a-kind</a>					  </div>
					  <div class="wrapper">
						  <div class="price">
							  $1.499.00							  </div>
						  <div class="button">
							  <a href="index.php?main_page=product_info&cPath=3&products_id=4"><?php echo zen_image(DIR_WS_TEMPLATE.'buttons/english/button_goto_prod_details.gif'); ?></a>							  </div>
					  </div>
			  </li>
		  </ul>
	  </div>
  </div>
</div> sry for the long code looks like they hard coded the products into it. SOB!@!@!!@ i hate them...
18 Aug 2011, 11:28 PM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,883
Plugin Contributions:
20

Re: Home page products not changing

Yep. But this doesn't look like a USUAL TM scr:censored:up.
Never known them to hardcode a product link AND they are probably smart enough to at least know that this should have gone in the define_main_page instead of where it is.
Looks more like someone who was completely unfamiliar with Zen.
For now, just comment out the entire carousel div.
BTW, TM washes their hands when the check clears.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com