Jump to content

Claudia

Member
  • Posts

    299
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Claudia

  1. Damn! I did edit the cubecart.helpers.css file but I forgot to upload it. I'll try that again.
  2. The code worked except on the one image products page it shows a thumbnail of that image on the main product page and the enlarged image page. I know that is how it is suppose to work but is there a way to not show the thumbnail?
  3. I'm not sure how to make a Feature Request in the Github. Will you do it please?
  4. "This will show a Smarty debug popup (hopefully for you only). The popup will show the contents of the array $PRODUCT, and should contain the sub-array 'image_tags'. Verify that there exists in 'image_tags' the sub-array 'medium', and within 'medium', the elements 'alt' and 'title'. " I can't find that in the revised debug for any product
  5. I'm using Firefox too and this is what it shows when you click the main image to get the largest image. No title, nothing underneath image. If the product has more images thumbnails will show with the title above them
  6. I have the debug info for the product with only one image, but I can't find what you are looking for. The Cubecart demo store doesn't show the img alt or title for a one image product either
  7. I will do that of course. But I wanted you to see my custom code (I made products stuff all one file) to see if I messed something up. Link to example page Where the large photo goes at the top left of the product page: <div class="row"> <div class="small-12 medium-7 large-7 columns horizontal marg-bottom"> <span class="font11 red pad-left"> Click on large image for largest size photos</span> {if count($GALLERY) > 1} <a href="#" class="open-clearing" data-thumb-index="0"><img src="{$PRODUCT.medium}" alt="{if isset($PRODUCT.image_tags.medium.alt) && !empty($PRODUCT.image_tags.medium.alt)}{$PRODUCT.image_tags.medium.alt}{else}{$PRODUCT.name}{/if}"{if isset($PRODUCT.image_tags.medium.title)} title="{$PRODUCT.image_tags.medium.title}"{/if} id="img-preview"></a> {else} <div data-clearing><a href="{$PRODUCT.source}"><img src="{$PRODUCT.medium}" alt="{if isset($PRODUCT.image_tags.medium.alt) && !empty($PRODUCT.image_tags.medium.alt)}{$PRODUCT.image_tags.medium.alt}{else}{$PRODUCT.name}{/if}"{if isset($PRODUCT.image_tags.medium.title)} title="{$PRODUCT.image_tags.medium.title}"{/if} id="img-preview"></a></div> {/if} </div> Where the thumbnails go right above the description: <div class="row"> {if count($GALLERY) > 1} <!-- <span class="font11 red pad-left"> Click on image for largest size photos</span> --> <ul class="clearing-thumbs small-block-grid-5 medium-block-grid-6 large-block-grid-10" data-clearing> {foreach from=$GALLERY item=image} <li><a href="{$image.source}" class="th"><img src="{$image.small}" data-image-swap="{$image.medium}" data-caption="{if !empty($image.image_tags.title)}{$image.image_tags.title}{else}{$PRODUCT.name}{/if}" class="image-gallery" alt="{if isset($image.image_tags.alt) && !empty($image.image_tags.alt)}{$image.image_tags.alt}{else}{$image.name}{/if} - {$LANG.catalogue.click_enlarge}"{if isset($image.image_tags.title)} title="{$image.image_tags.title}"{/if}></a></li> {/foreach} </ul> {/if} </div> <div class="thinmarg-top" style="font-size:1rem; font-weight:bold; border-top: 1px solid #C0C0C0;border-bottom: 1px solid #C0C0C0"> Description </div> {if ($PRODUCT.description)} <div> {$PRODUCT.description} </div> {/if}
  8. Yes, I just added them the cleared cache before I submitted this
  9. I just noticed on my store and the demo that if a product has only one image then the image alt and image title does not show. Is this by design? If not how can I change this. Thanks as always
  10. I keep getting these warnings. Anything to do to stop it - or do I need to worry? Thanks for any and all help. [13-Sep-2023 09:02:41 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxx/public_html/classes/sanitize.class.php on line 155 [13-Sep-2023 09:02:41 America/Louisville] PHP Warning: Undefined global variable $_GET in /home/xxxxx/public_html/includes/functions.inc.php on line 218 [13-Sep-2023 09:30:31 America/Louisville] PHP Warning: Undefined array key "HTTP_USER_AGENT" in /home/xxxxxx/public_html/classes/user.class.php on line 719 [12-Sep-2023 21:06:52 America/Louisville] PHP Warning: Trying to access array offset on value of type bool in /home/xxxxx/public_html/classes/cubecart.class.php on line 660
  11. I noticed that too. I was going to put a ticket in with Ian but got sidetracked. I'll do that now.
  12. That seems to have done it! Thank you, again, Brian
  13. This is the script I use for my files. One of the questions I have is where do I put it in the CubeCart files? <script> $('.vnb-sub-cbd').hide(); $('.has-sub-cbd').hover(function(){ $(this).children('.vnb-sub-cbd').fadeToggle(200); }); </script>
  14. template file element.navigation_tree.php <li class="has-sub-cbd"> <a class="vertical-navigation-box-link-cbd" href="{$BRANCH.url}" title="{$BRANCH.name}">{$BRANCH.name}</a> {if isset($BRANCH.children)} <ul class="vnb-sub-cbd"> <li itemprop="name" class="vnb-sub-title-cbd">{$BRANCH.name}</li> {$BRANCH.children} </ul> {/if} </li> When I say yes to expand navigation tree in store settings I get this over top my menu: I have it setup with my own files to do what I want, but I wanted to set it up thru Cubecart. Now every time I add a category, or child, I have to do it manually. I add such a varity of items I'm always adding or changing categories. More Info: The categories to the left in the image above are what shows using Cubecart with the expand categories store setting at no. I'm not using my files at all.
  15. I've changed the css in the foundation navigation files so it now acts as a vertical menu. However, I can't get it to show my "children" and I don't know where to put my script. Any help is appreciated https://www.cambargainstore.com/ {if $CATEGORIES} {$CATEGORIES} {else} <div id="vertical-navigation-box-cbd"> <ul itemscope itemtype="http://www.schema.org/SiteNavigationElement" class="vnb-top-cbd"> <li> <a href="/listed-only-on-ebay" title="Listed only on eBay" class="vm-ebay-txt">Listed only on eBay</a></li> <li> <a href="/listed-only-on-etsy" title="Listed only on Etsy" class="vm-etsy-txt">Listed only on Etsy</a></li> <!-- <li class="name"></li> <li class="toggle-topbar left"><a href="">{$LANG.navigation.title} <svg class="icon"><use xlink:href="#icon-caret-down"></use></svg></a></li> </ul> --> <!-- <section class="top-bar-section"> <h5 class="hide">{$LANG.navigation.title}</h5> --> <!-- <ul itemscope itemtype="http://www.schema.org/SiteNavigationElement" class="left"> --> <!-- <li itemprop="name" class="show-for-medium-up"><a itemprop="url" href="{$ROOT_PATH}" title="{$LANG.common.home}"><svg class="icon"><use xlink:href="#icon-home"></use></svg></a></li> --> {$NAVIGATION_TREE} <!-- {if $CTRL_CERTIFICATES && !$CATALOGUE_MODE} <li itemprop="name"><a itemprop="url" href="{$URL.certificates}" title="{$LANG.navigation.giftcerts}">{$LANG.navigation.giftcerts}</a></li> {/if} --> <!-- {if $CTRL_SALE} <li itemprop="name"><a itemprop="url" href="{$URL.saleitems}" title="{$LANG.navigation.saleitems}">{$LANG.navigation.saleitems}</a></li> {/if} --> </ul> </div> {/if} <li class="has-sub-cbd"> <a class="vertical-navigation-box-link-cbd" href="{$BRANCH.url}" title="{$BRANCH.name}">{$BRANCH.name}</a> {if isset($BRANCH.children)} <ul class="vnb-sub-cbd"> <li itemprop="name" class="vnb-sub-title-cbd">{$BRANCH.name}</li> {$BRANCH.children} </ul> {/if} </li> <script> $('.vnb-sub-cbd').hide(); $('.has-sub-cbd').hover(function(){ $(this).children('.vnb-sub-cbd').fadeToggle(200); }); </script>
  16. Which version should I be using?
  17. I have what is probably a silly question. Why does the extension chart in CC show the latest version of PayPal commerce as 1.8.5 but the extension in my admin shows version 1.9.0? Thanks
  18. Thanks Brian. I'll wait for the Github to correct this issue
  19. No I don't have that feature enabled, I don't guess. Where do I find that feature? I haven't changed anything. These emails I send are for customers I create along with their orders.
  20. Interesting ... it shows English (UK)
  21. sorry en-US no spaces. English is set as my default language in store settings
  22. en-GB shows CC Stock code en - US Shows my template Yes, It always sent my edited template.
  23. Many CC versions ago I changed some of my email templates to suit my needs. For example the Admin Order Received email. I uploaded this to the email template in admin and checked in the database and the test in admin and all my changes are there. However, when the email is sent, the stock email from CC is sent. How do I make CC send my edited template? I'm using CC version 6.5.1 Thanks Claudia
  24. That makes sense. I think I'll keep making the change instead of changing the rate rule. Thanks!
×
×
  • Create New...