Jump to content

Claudia

Member
  • Posts

    242
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Claudia

  1. Thanks again Brian. The URL has been deleted. I'll look into the first one.
  2. For the last few days I keep getting these warnings over and over in my cPanel error log. Nothing in admin error log. Thanks for any and all help [02-Oct-2023 12:53:02 America/Louisville] PHP Warning: Trying to access array offset on value of type bool in /home/cambarga/public_html/admin_OE2vfW/sources/orders.index.inc.php on line 307 [02-Oct-2023 11:08:00 America/Louisville] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: Entity: line 1: parser error : Opening and ending tag mismatch: link line 1 and head in /home/xxxxxxx/public_html/admin_OE2vfW/sources/dashboard.index.inc.php on line 439 [02-Oct-2023 11:08:00 America/Louisville] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: al-scale=1&quot;&gt;&lt;link href=&quot;/cdn-cgi/styles/challenges.css&quot; rel=&quot;stylesheet&quot;&gt;&lt;/head&gt; in /home/xxxxxxx/public_html/admin_OE2vfW/sources/dashboard.index.inc.php on line 439 [02-Oct-2023 11:08:00 America/Louisville] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: ^ in /home/xxxxxxx/public_html/admin_OE2vfW/sources/dashboard.index.inc.php on line 439 [02-Oct-2023 11:08:00 America/Louisville] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: Entity: line 1: parser error : xmlParseEntityRef: no name in /home/xxxxxxx/public_html/admin_OE2vfW/sources/dashboard.index.inc.php on line 439 [02-Oct-2023 11:08:00 America/Louisville] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: ge/v1?ray=80f8b6039edadd68';window._cf_chl_opt.cOgUHash = location.hash === '' &amp; in /home/xxxxxxx/public_html/admin_OE2vfW/sources/dashboard.index.inc.php on line 439 [02-Oct-2023 11:08:00 America/Louisville] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: -1 ? '#' : location.hash;window._cf_chl_opt.cOgUQuery = location.search === '' &amp; in /home/xxxxxxx/public_html/admin_OE2vfW/sources/dashboard.index.inc.php on line 439 [02-Oct-2023 11:08:00 America/Louisville] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: 1 ? '#' : location.hash;window._cf_chl_opt.cOgUQuery = location.search === '' &amp;&amp; in /home/xxxxxxx/public_html/admin_OE2vfW/sources/dashboard.index.inc.php on line 439 [02-Oct-2023 11:08:00 America/Louisville] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: OgUHash.length).indexOf('?') !== -1 ? '?' : location.search;if (window.history &amp; in /home/xxxxxxx/public_html/admin_OE2vfW/sources/dashboard.index.inc.php on line 439 [02-Oct-2023 11:08:00 America/Louisville] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: ^ in /home/xxxxxxx/public_html/admin_OE2vfW/sources/dashboard.index.inc.php on line 439 [02-Oct-2023 11:08:00 America/Louisville] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: gUHash.length).indexOf('?') !== -1 ? '?' : location.search;if (window.history &amp;&amp; in /home/xxxxxxx/public_html/admin_OE2vfW/sources/dashboard.index.inc.php on line 439 [02-Oct-2023 11:08:00 America/Louisville] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: nt.getElementsByTagName('head')[0].appendChild(cpo);}());&lt;/script&gt;&lt;/body&gt;&lt;/html&gt; in /home/xxxxxxx/public_html/admin_OE2vfW/sources/dashboard.index.inc.php on line 439 [02-Oct-2023 11:08:00 America/Louisville] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: ^ in /home/xxxxxxx/public_html/admin_OE2vfW/sources/dashboard.index.inc.php on line 439 [02-Oct-2023 11:08:00 America/Louisville] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: Entity: line 1: parser error : Premature end of data in tag meta line 1 in /home/xxxxxxx/public_html/admin_OE2vfW/sources/dashboard.index.inc.php on line 439 [02-Oct-2023 11:34:35 America/Louisville] PHP Warning: String could not be parsed as XML in /home/xxxxxxx/public_html/admin_OE2vfW/sources/dashboard.index.inc.php on line 463
  3. Can I do this? I don't like the way the ship date is formatted 'all_ship_date' => $order['all_ship_date'], 'venue_ship_product' => $order['venue_ship_product'], 'all_shipping_used' => $order['all_shipping_used'], <div class="title-mid marg-top">{$LANG.common.delivery}</div> {if !empty($DELIVERY.all_ship_date)} <div class="row"> <div class="small-6 medium-3 columns">Shipping Date:</div> <div class="small-6 medium-9 columns">{$DELIVERY.all_ship_date}</div> </div> {/if} {if !empty($DELIVERY.venue_ship_product)} <div class="row"> <div class="small-6 medium-3 columns">Shipping Paid For:</div> <div class="small-6 medium-9 columns">{$DELIVERY.venue_ship_product}</div> </div> {/if} {if !empty($DELIVERY.all_shipping_used)} <div class="row"> <div class="small-6 medium-3 columns">Shipping Used:</div> <div class="small-6 medium-9 columns">{$DELIVERY.all_shipping_used}</div> </div> {/if}
  4. do you mean 'alt_ship_date' or my table all_ship_date
  5. All of those fields are in the order_summary database, but I can put them where needed for the code snippet to work. Or, if possible, I'd rather change the stock code.
  6. How does CubeCart determine what to use as the shipping date of an order? Is it set by when the status of the order is set as complete? I would like to be able to input this info manually; and how would I make it work on the order history / view details page when the customer is logged into their account. Thanks for any and all help! I use a database called all_ship_date and manually input the date for all orders whether the order is thru the store or I create it for offsite sales. I also do this for the shipping paid for - venue_ship_product for and the shipping used - all_shipping_used (often times I give a shipping upgrade and want the customer to know) I'd like to implement them here too This is what I have in skin/contents/receipt {if $DELIVERY} <hr> <div class="title-mid marg-top">{$LANG.common.delivery}</div> {if !empty($DELIVERY.date)} <div class="row"> <div class="small-6 medium-3 columns">Shipping Date:</div> <div class="small-6 medium-9 columns">{$DELIVERY.date}</div> </div> {/if} {if !empty($DELIVERY.method)} <div class="row"> <div class="small-6 medium-3 columns">Shipping Carrier:</div> <div class="small-6 medium-9 columns">{$DELIVERY.method}</div> </div> {/if}
  7. I'm just curious ... why did it make a difference taking out the ()?
  8. I took the () out and it works! Thanks Brian FYI: I had the () in because that what shows in product description and I was just following what it did. Well I don't know what is going on now! I looked at another product that has this and look! Plus none of it is showing in the editor in the admin skin product page https://www.cambargainstore.com/candle-lamp-cowboys I got it to work
  9. Here you go. This is my skin code. {if $PRODUCT.specs_title_12} <div class="block_container"> <div class="bc-subtitle"> {$PRODUCT.specs_title_12}</div> {/if} {if $PRODUCT.specs_content_12} <div class="bc-txt">{$PRODUCT.specs_content_12}</div></div> {/if} {if ($PRODUCT.related_used_with)} <div> {$PRODUCT.related_used_with} </div> {/if} </form> <div class="hide" id="validate_field_required">{$LANG.form.field_required}</div> </div> {else} <p>{$LANG.catalogue.product_doesnt_exist}</p> {/if}
  10. no nothing changes. No matter what changes I make nothing changes
  11. Yes I click the clear cache button more than I should probably
  12. I looked in myphp at that product and the record is updated
  13. This is the part of debug in admin for the example page. 'related_used_with' => &lt;div class=&quot;title-related thinmarg-top&quot;&gt;Use with Our:&lt;/div&gt; &lt;div class=&quot;row pad-topbottom&quot;&gt; &lt;div class=&quot;small-12 medium-3 large-3 columns center&quot;&gt;&lt;a href=&quot;/tealight-candles-and-more&quot; title=&quot;Tealight Candles&quot;&gt;&lt;img alt=&quot;Tealight Candles&quot; class=&quot;th&quot; src=&quot;../images/related/candle-tealight-lot-5-150.jpg&quot; title=&quot;Tealight Candles&quot; /&gt;&lt;/a&gt;&lt;br /&gt; &lt;a class=&quot;related center&quot; href=&quot;/tealight-candles-and-more&quot; target=&quot;_blank&quot; title=&quot;Tealight Candles&quot;&gt;Tealight Candles&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;small-12 medium-3 large-3 columns center&quot;&gt;&lt;a href=&quot;/scented-oils&quot; title=&quot;Scented Oils&quot;&gt;&lt;img alt=&quot;Scented Oils&quot; class=&quot;th&quot; src=&quot;../images/related/scented-oils-lot-5-150.jpg&quot; title=&quot;Scented Oils&quot; /&gt;&lt;/a&gt;&lt;br /&gt; &lt;a class=&quot;related center&quot; href=&quot;/scented-oils&quot; target=&quot;_blank&quot; title=&quot;Scented Oils&quot;&gt;Scented Oils&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;small-12 medium-3 large-3 columns center&quot;&gt;&lt;a href=&quot;/scented-tarts&quot;&gt;&lt;img alt=&quot;Scented Tarts&quot; class=&quot;th&quot; img=&quot;&quot; src=&quot;../images/related/scented-tarts-lot-6-150.jpg&quot; title=&quot;Scented Tarts&quot; /&gt;&lt;/a&gt;&lt;br /&gt; &lt;a class=&quot;related center&quot; href=&quot;/scented-tarts&quot; target=&quot;_blank&quot; title=&quot;Scented Tarts&quot;&gt;Scented Tarts&lt;/a&gt;&lt;/div&gt;
  14. Deleted Code from DataBase for related_used_with It works when I add the code to the product description, but it's in the wrong place. See link above. Do I need to add the related_used_with and specs to the product description?
  15. "I change my code -- from what to what? " From the code in the original post to what you gave me "Still shows the original -- what? " from the code in the original post "Is this "code" actually part of the product's Description? " No it's a new section I created .... It all worked (not the "th" in 6.5.1). I guess if I had to I could add it to the product description. ADMIN PRODUCTS SOURCES $record = $_POST; $record['description'] = $GLOBALS['RAW']['POST']['description']; $record['sold_venue_tag'] = $GLOBALS['RAW']['POST']['sold_venue_tag']; $record['related_used_with'] = $GLOBALS['RAW']['POST']['related_used_with']; unset($record['categories'], $record['group'], $record['image']); ADMIN PRODUCTS SKIN <fieldset> <legend style="width:99.5%">Sold Venue Tag</legend> <textarea name="sold_venue_tag" id="sold_venue_tag" class="textbox fck">{$PRODUCT.sold_venue_tag}</textarea> </fieldset> </td> <td width="1%"> &nbsp; </td> <td width="48%"> <fieldset> <legend style="width:99.5%">{$LANG.common.description}</legend> <textarea name="description" id="description" class="textbox fck">{$PRODUCT.description}</textarea> </fieldset> </td> </tr> </table> <table width="50%"> <tr> <td width="50%"> <fieldset> <legend style="width:99.5%">Related / Used With</legend> <textarea name="related_used_with" id="related_used_with" class="textbox fck">{$PRODUCT.related_used_with}</textarea> </fieldset> If I make it part of the description it works ... but.... it is placed above the products specs. and even though I delete the code in the related_used_with it still shows.
  16. I don't know if that will work for me or not. Even when I change my code, the frontend page still shows the original, though the admin shows the changes. Here's my revised testing code. I have even checked my admin product skin and source codes. <div class="small-12 medium-3 large-3 columns center"> <a href="/tealight-candles-and-more" title="Tealight Candles"><img class="th" alt="Tealight Candles" src="../images/related/candle-tealight-lot-5-150.jpg" title="Tealight Candles"></a><br /> <a class="related center" href="/tealight-candles-and-more" target="_blank" title="Tealight Candles">Tealight Candles</a> </div>
  17. I have setup a new section in my product listings that I use for some of my listings. It's Called Use With (or Related too). It shows images of items that can be used for that product listing along with a link to that item. My question is how do I get the image "th" class to work on these images? I have setup a new folder in the main images file (/public_html/images/related/) to store the images used. Here's a page example FYI - Here's a sample of the code I'm now using. I tried to put the img class="th" src code and rearranged the alt and title but it wouldn't take. <div class="title-related thinmarg-top">Use with Our:</div> <div class="row pad-topbottom"> <div class="small-12 medium-3 large-3 columns center"> <a href="/tealight-candles-and-more"><img alt="Tealight Candles" src="../images/related/candle-tealight-lot-5-150.jpg" style="border-width: 0px;" title="Tealight Candles" /></a><br /> <a class="related center" href="/tealight-candles-and-more" target="_blank" title="Tealight Candles">Tealight Candles</a> </div> Thanks for any all help!!!
  18. Isn't it amazing when things work when you follow the directions! I had to tweak my grids but other than that it works perfectly. Thank you again Brian
  19. Damn! I did edit the cubecart.helpers.css file but I forgot to upload it. I'll try that again.
  20. 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?
  21. I'm not sure how to make a Feature Request in the Github. Will you do it please?
  22. "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
  23. 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
  24. 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
  25. 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}
×
×
  • Create New...