hi,
in my website addtocart button is stop working as well as all symbol(extra font) are not working
i am not change any code therefore its not working
help to solve that
hello, i already submited for a similar problem ("Add to cart" button not working, but i think my thread wasn't accepted yet), so maybe you can help me and him at the same time.Avvici -arvixe- wrote:Could you please send a link to your site so we can debug this? Thanks.
Here's my store:
http://www.gadgetfreaks.si/
The problem is, when you click "Add to cart" button, the "Cart" will say "Loading", but won't add the product to the cart, instead it will open the product details, other 2 buttons works fine (Compare and add to wishlist).
I already tried to change store.php file and it didn't help.
The error i'm getting is:
Code: Select all
PHP Notice: Undefined variable: site_key in /home/gadgetfr/public_html/catalog/view/theme/journal2/template/product/product.tpl on line 235
Code: Select all
<?php if ($site_key) { ?>
Code: Select all
<?php if (version_compare(VERSION, '2.0.2', '<')): ?>
<div class="form-group required">
<div class="col-sm-12">
<label class="control-label" for="input-captcha"><?php echo $entry_captcha; ?></label>
<input type="text" name="captcha" value="" id="input-captcha" class="form-control" />
</div>
</div>
<div class="form-group">
<div class="col-sm-12"> <img src="index.php?route=tool/captcha" alt="" id="captcha" /> </div>
</div>
<?php else: ?>
<?php if ($site_key) { ?>
<div class="form-group">
<div class="col-sm-12">
<div class="g-recaptcha" data-sitekey="<?php echo $site_key; ?>"></div>
</div>
</div>
<?php } ?>
<?php endif; ?>
<div class="buttons">
<div class="pull-right">
<button type="button" id="button-review" data-loading-text="<?php echo $text_loading; ?>" class="btn btn-primary button"><?php echo $button_continue; ?></button>
</div>
</div>
<?php } else { ?>
<?php echo $text_login; ?>
<?php } ?>
</form>
</div>
<?php } ?>
<?php $index = 0; foreach ($this->journal2->settings->get('additional_product_tabs', array()) as $tab): $index++; ?>
<div id="additional-product-tab-<?php echo $index; ?>" class="tab-pane tab-content journal-custom-tab <?php if ($is_active) { echo 'active'; $is_active = false; } ;?>"><?php echo $tab['content']; ?></div>
<?php endforeach; ?>
</div>
</div>
</div>
Who is online
Users browsing this forum: paulfeakins and 51 guests