Jump to content

Retrodisco

Member
  • Posts

    49
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Retrodisco

  1. thats sorted it, excellent, that issue has been around for years, for me at least.
  2. Thanks I cant find the line {include file='templates/element.product.horizontal_gallery.php'} in that file though... Heres the entire file {* * CubeCart v6 * ======================================== * CubeCart is a registered trade mark of CubeCart Limited * Copyright CubeCart Limited 2015. All rights reserved. * UK Private Limited Company No. 5323904 * ======================================== * Web: http://www.cubecart.com * Email: [email protected] * License: GPL-3.0 https://www.gnu.org/licenses/quick-guide-gplv3.html *} {if isset($PRODUCT) && $PRODUCT} <div itemscope itemtype="http://schema.org/Product"> <form action="{$VAL_SELF}" method="post" class="add_to_basket"> <div class="row"> <div class="small-12 columns"> <h1 itemprop="name">{$PRODUCT.name}</h1> </div> </div> <div class="row"> <div class="small-5 medium-7 columns"> <a href="#" class="open-clearing" data-thumb-index="0"><img src="{$PRODUCT.medium}" alt="{$PRODUCT.name}" id="img-preview"></a> {if $GALLERY} <ul class="clearing-thumbs small-block-grid-3 medium-block-grid-5 marg-top" data-clearing> {foreach from=$GALLERY item=image} <li><a href="{$image.source}"><img src="{$image.small}" data-image-swap="{$image.medium}" data-caption="{$PRODUCT.name}{if !empty($image.description)}: {/if}{$image.description}" class="th image-gallery" alt="{$LANG.catalogue.click_enlarge}"></a></li> {/foreach} </ul> {/if} </div> <div class="small-7 medium-5 columns"> {if !empty($PRODUCT.description)} {$PRODUCT.description}{/if} {if is_array($OPTIONS)} {foreach from=$OPTIONS item=option} {if $option.type == Catalogue::OPTION_RADIO} <div class="row"> <div class="small-12 columns"> {* If we only have one required option replace with hidden field *} {if $option.required && count($option.values)===1} <label for="option_{$option.option_id}" class="return">{$option.option_name}</label> {$option.values.0.value_name}{if $option.values.0.price} {$option.values.0.symbol}{$option.values.0.price}{/if} <input type="hidden" name="productOptions[{$option.option_id}]" id="option_{$option.option_id}" value="{$option.values.0.assign_id}" data-price="{$option.values.0.decimal_price}"> {else} <div class="pseudo-label">{$option.option_name}{if $option.required} ({$LANG.common.required}){/if}</div> <span id="error_option_{$option.option_id}"> {foreach from=$option.values item=value name=options} <div><input type="radio" name="productOptions[{$option.option_id}]" id="rad_option_{$value.assign_id}" value="{$value.assign_id}" class="nomarg" data-price="{$value.decimal_price}"{if $smarty.foreach.options.first} rel="error_option_{$option.option_id}" {if $option.required}required{/if}{/if}> <label for="rad_option_{$value.assign_id}" class="return">{$value.value_name}{if $value.price} {$value.symbol}{$value.price}{/if}</label> </div> {/foreach} </span> {/if} </div> </div> {elseif $option.type == Catalogue::OPTION_SELECT} <div class="row"> <div class="small-12 columns"> {* If we only have one required option replace with hidden field *} {if $option.required && count($option.values)===1} <label for="option_{$option.option_id}" class="return">{$option.option_name}</label> {$option.values.0.value_name}{if $option.values.0.price} {$option.values.0.symbol}{$option.values.0.price}{/if} <input type="hidden" name="productOptions[{$option.option_id}]" id="option_{$option.option_id}" value="{$option.values.0.assign_id}" data-price="{$option.values.0.decimal_price}"> {else} <label for="option_{$option.option_id}" class="return">{$option.option_name}{if $option.required} ({$LANG.common.required}){/if}</label> <select name="productOptions[{$option.option_id}]" id="option_{$option.option_id}" class="nomarg" {if $option.required}required{/if}> <option value="">{$LANG.form.please_select}</option> {foreach from=$option.values item=value} <option value="{$value.assign_id}" data-price="{$value.decimal_price}">{$value.value_name}{if $value.price} {$value.symbol}{$value.price}{/if}</option> {/foreach} </select> {/if} </div> </div> {else} <div class="row"> <div class="small-12 columns"> <label for="option_{$option.option_id}" class="return">{$option.option_name}{if $option.price} {$option.symbol}{$option.price}{/if}{if $option.required} ({$LANG.common.required}){/if}</label> {if $option.type == Catalogue::OPTION_TEXTBOX} <input type="text" name="productOptions[{$option.option_id}][{$option.assign_id}]" id="option_{$option.option_id}" data-price="{$option.decimal_price}" {if $option.required}required{/if}> {elseif $option.type == Catalogue::OPTION_TEXTAREA} <textarea name="productOptions[{$option.option_id}][{$option.assign_id}]" id="option_{$option.option_id}" data-price="{$option.decimal_price}" {if $option.required}required{/if}></textarea> {/if} </div> </div> {/if} {/foreach} {/if} {if $PRODUCT.review_score && $CTRL_REVIEW} <p itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> <meta itemprop="ratingValue" content="{$REVIEW_AVERAGE}"> <meta itemprop="reviewCount" content="{$REVIEW_COUNT}"> {for $i = 1; $i <= 5; $i++} {if $PRODUCT.review_score >= $i} <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/star.png" alt=""> {elseif $PRODUCT.review_score > ($i - 1) && $PRODUCT.review_score < $i} <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/star_half.png" alt=""> {else} <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/star_off.png" alt=""> {/if} {/for} <div>{$LANG_REVIEW_INFO}</div> </p> {/if} {if ($CTRL_ALLOW_PURCHASE) && (!$CATALOGUE_MODE)} <h3> {if $PRODUCT.ctrl_sale} <span class="old_price" id="fbp" data-price="{$PRODUCT.full_base_price}">{$PRODUCT.price}</span> <span class="sale_price" id="ptp" data-price="{$PRODUCT.price_to_pay}">{$PRODUCT.sale_price}</span> {else} <span id="ptp" data-price="{$PRODUCT.price_to_pay}">{$PRODUCT.price}</span> {/if} </h3> {if isset($PRODUCT.discounts)} <p>(<a href="#quantity_discounts">{$LANG.catalogue.bulk_discount}</a>)</p> {/if} <div class="row collapse"> {if $PRODUCT.available == '0'} <div class="small-12 columns"> <input type="submit" value="{$LANG.common.unavailable}" class="button small disabled expand marg-top" disabled> </div> {else} <div class="medium-2 columns show-for-medium-up"> <input type="text" name="quantity" value="1" class="quantity required text-center"> <input type="hidden" name="add" value="{$PRODUCT.product_id}"> </div> <div class="small-12 medium-10 columns"> <button type="submit" value="{$LANG.catalogue.add_to_basket}" class="button postfix">{$LANG.catalogue.add_to_basket}</button> </div> {/if} </div> {else} {if $CTRL_HIDE_PRICES} <p class="buy_button"><strong>{$LANG.catalogue.login_to_view}</strong></p> {else if $CTRL_OUT_OF_STOCK} <p class="buy_button"><strong>{$LANG.catalogue.out_of_stock}</strong></p> {/if} {/if} {if isset($PRODUCT.discounts)}<br /> <div class="content" id="quantity_discounts"> <p>{$LANG.catalogue.quantity_discounts_explained}</p> <table> <thead> <tr> <th>{$LANG.common.quantity}</th> <th>{$LANG.catalogue.price_per_unit}</th> </tr> </thead> <tbody> {foreach from=$PRODUCT.discounts item=discount} <tr> <td>{$discount.quantity}+</td> <td>{$discount.price}</td> </tr> {/foreach} </tbody> </table> </div> {/if} <hr> <div class="content{if empty($PRODUCT.description)} active{/if}" id="product_spec"> <table> <tbody> <tr> <td>{$LANG.catalogue.product_code}</td> <td>{$PRODUCT.product_code}</td> </tr> {if $PRODUCT.manufacturer} <tr> <td>{$LANG.catalogue.manufacturer}</td> <td>{$MANUFACTURER}</td> </tr> {/if} {if $PRODUCT.stock_level} <tr> <td>{$LANG.catalogue.stock_level}</td> <td>{$PRODUCT.stock_level}</td> </tr> {/if} <tr> <td>{$LANG.common.condition}</td> <td>{$PRODUCT.condition}</td> </tr> {if $PRODUCT.product_weight > 0} <tr> <td>{$LANG.common.weight}</td> <td>{$PRODUCT.product_weight}{$CONFIG.product_weight_unit}</td> </tr> {/if} </tbody> </table> </div> </div> </div> </div> </form> {if $SHARE} {foreach from=$SHARE item=html} {$html} {/foreach} {/if} <hr> {include file='templates/element.product_reviews.php'} {foreach from=$COMMENTS item=html} {$html} {/foreach} </div> {else} <p>{$LANG.catalogue.product_doesnt_exist}</p> {/if}
  3. Thanks, I've added that </span> in
  4. If its easier to look at a fresh install from scratch, have a look at www.wonky-pots.co.uk This has nothing do to it aside from change of skin, the issue occurs with foundation too.
  5. I've done the above, what do I need to do now? This happens on a fresh install store with zero mods too.
  6. It doesnt get to list a gateway as you cant even get to see the cart. Like I said enter a mobile store, visit an item page, click to add to cart, then immediate try to secure checkout and you can't, wont open the cart, just goes back to the item. He's a video I uploaded to Youtube. I add an item to the cart and then try three times to go to checkout, I add it to cart again (2 in cart now) and try again, and cannot. To make it work I need to click the site logo to go back to the front page and then try to enter the cart and checkout works. I have replicated this on two different stores and skin didnt change it either. https://youtu.be/LfrLioKA5Ts Adding item to basket from the root, or category and NOT from the item page itself doesnt create this issue.
  7. I've had this for years but thought it was a problem with my site or host or something. But I've today made a fresh install store, from the latest version on a totally different server and the issue exists there too, on a brand new store. This is with iPhone 11, but has happened with numerous phones and on my old site at least, Android too. To replicate, go to store, click on an item, within the description add it to basket, then go directly to the cart, and try to pay, it doesnt work, just closes the side bit back down, over and over, the only way to fix is to go back to the root and try to checkout again.
  8. I'm updating from 641 to 642
  9. Database update gives this error below, is this a hosting issue? Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 83886080 bytes) in /home/citybugs/public_html/classes/cache/cache.class.php on line 267
  10. Seems to be ok now Installing new version but updating database just hangs
  11. The not being able to checkout or view basket issue still exists on iphone as it has for a couple years, seems you HAVE to be logged in first, if you try to buy as a new customer it just gets stuck in a loop. Only happens if you purchase within an item description and then try to go to checkout or basket.
  12. thanks will try this now will this also solve the mobile browser issue where you cant go to the cart if you click to buy with the item description and try to check out straight after
  13. Sorry for continued posting. If you click to buy from the category listing, it adds fine and works. Foundation skin is the same Basket seems to show random things, sometimes there, sometimes not, Firefox on PC seems to not work right, other browsers do. Firefox seems to have 'two' carts, which appear and disappear randomly. I seem to have two issues, the mobile issue where purchase within the item itself does allow basket to open properly and Firefox on PC have two seemingly random carts (browers cache cleared too)
  14. Iphone various models, does it on my 11 Pro, latest ios, customer had iphone 8. Its been an issue on and off for years, never managed to replicate until today Easiest way to see it is to go to an item description, like to buy and then try to go direct to checkout Is it possible to add a 'continue shopping' button at checkout? Its doing the same on my laptop too, click to buy within the item description and cart is empty
  15. Another client today has stated they've tried to add to cart via their phone and when they go to checkout the cart is empty (it isnt empty, it contains multiples, they just cant get to it) More info: Seems it is there but they can't get to the checkout area, clicking secure checkout button the side panel just slides away again, clicking the store logo top left and trying again seems to clear that issue, but obviously customers will leave without asking for it to be solved. Seems to be a mobile site issue Edit: Even more info, if you click within the item itself this happens, if you click the buy button from the front page or main section, and NOT within the item itself going to checkout will work. Going from item description straight to checkout is the issue it seems. Edit again, Even more: Forcing Jump To Basket makes it work, but I dont want that feature enabled as there is no continue shopping option on Minimaliser theme View basket doesnt work either when the issue is showing.
  16. Yes its this for sure. I have cache off and the tabs dont work.
  17. Never had this issue ever, not that I know of. A customer just said they are trying to purchase an item, they add it to cart, when they go to cart it's gone and they cant buy it. Never come accross, this in over 3000 sales. Update, hes managed to do it from his phone, but not his Windows 10 laptop
  18. I cant get any tabs to open in the latest update with firefox, if you click a tab (say description or pricing), the url in the address bar changes but it does not 'go', you need to click on the address bar and press enter for it to work.
  19. Just the tab issue to solve, it's a pain to open everything in new browser tab
  20. I sent the error code to my hosting company, who tweaked something, the install worked second time around The only issue that remains is that the tabs dont work inside an order, or product screen unless you open them in a new browser tab. Firefox latest version
  21. I remember I clicked the upgrade tab, but didn't click the button to continue, just clicked back, so maybe it flagged I'd upgraded when I had not even copied the files? ah ok, uploaded files, clicked tab to upgrade database from 6.2.9 and this error: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2097152 bytes) in /home/citybugs/public_html/classes/cache/file.class.php on line 90 Tried a few times, can't upgrade database, it just falls over with this memory error
×
×
  • Create New...