Hi Y'all from Ocala Florida,
I'm tinkering with some code that I can't seem to get right - anyone got any ideas?
I own the store and shopping cart and what I'm trying to do is get another image to show up if acertain variable is set to a number. This is the best I can come up with that doesn't give me any erros but it's doing 2 funny things
- It's displaying the word echo and then the image
- It's displaying the image no matter what the variable is set to.
<?php if ($product->getSize()) {
$Size = $product->getSize;
if ($Size='A') ?>
echo <img src="/images/ae57x38.gif" />
<?php } ?>
Any help would be awesome.
Cheers,
RJFlowers