Zen Cart Logo
Forums / Basic Configuration / Add to Cart button (and others) won't show properly.

Add to Cart button (and others) won't show properly.

Views: 543

Results 1 to 3 of 3
15 Jun 2011, 5:27 PM
#1
siuda avatar

siuda

New Zenner

Join Date:
Nov 2009
Posts:
18
Plugin Contributions:
0

Add to Cart button (and others) won't show properly.

Hi All,

I'm just getting mad about images like "Add to Cart" button. All files are properly located in folders, but still won't show properly. Instead of getting images I have only frame with text inside.

I just installed same version of zen-cart (1.3.8a) on different server and copy my current template. All buttons (from /buttons directory) are showing without any problems. Is there any variable which is responsible of displaying images instead of text?

tpl_product_info_display wasn't modificated.

Where also I should to look?

Regards,
Luke

15 Jun 2011, 6:59 PM
#2
siuda avatar

siuda

New Zenner

Join Date:
Nov 2009
Posts:
18
Plugin Contributions:
0

Re: Add to Cart button (and others) won't show properly.

Hi,

I just realized that html_output is different on both sites and they're look like this:

- main site where buttons won't show up properly

<input type="hidden" name="cart_quantity" value="1" maxlength="6" size="1" /><input type="hidden" name="products_id" value="1159" /><input class="cssButton button_in_cart" onmouseover="this.className='cssButtonHover button_in_cart button_in_cartHover'" onmouseout="this.className='cssButton button_in_cart'" type="submit" value="Add to Cart" style="width: 80px;" /> </div>

- backup site with main site template, buttons show up properly

<input type="hidden" name="cart_quantity" value="1" maxlength="6" size="1" /><input type="hidden" name="products_id" value="1" /><input type="image" src="includes/templates/soliduo/buttons/english/button_in_cart.gif" alt="Add to Cart" title=" Add to Cart " /> </div>

function which is responsible for html output wasn't modified.

Any ideas?

Regards,
Luke

15 Jun 2011, 11:15 PM
#3
siuda avatar

siuda

New Zenner

Join Date:
Nov 2009
Posts:
18
Plugin Contributions:
0

Re: Add to Cart button (and others) won't show properly.

Hi Guys,

I just solved the problem. CSS Button were switched on. If you have similar problem try to switch off mentioned buttons in Admin -> Config -> Layout -> Use CSS Buttons [off].

Regards,