Jump to content

Claudia M

Member
  • Posts

    847
  • Joined

  • Last visited

  • Days Won

    13

Everything posted by Claudia M

  1. in the file In the file /admin/sources/products.index.inc.php What does this code do? Around Line 1126 $thead_sort = array ( 'status' => $GLOBALS['db']->column_sort('status', $lang['common']['status'], 'sort', $current_page, $_GET['sort']), 'digital' => $GLOBALS['db']->column_sort('digital', $lang['common']['type'], 'sort', $current_page, $_GET['sort']), 'image' => $lang['catalogue']['title_image'], 'name' => $GLOBALS['db']->column_sort('name', $lang['catalogue']['product_name'], 'sort', $current_page, $_GET['sort']), 'product_code' => $GLOBALS['db']->column_sort('product_code', $lang['catalogue']['product_code'], 'sort', $current_page, $_GET['sort']), 'price' => $GLOBALS['db']->column_sort('price', $lang['common']['price'], 'sort', $current_page, $_GET['sort']), 'stock_level' => $lang['catalogue']['title_stock'], 'updated' => $GLOBALS['db']->column_sort('updated', $lang['catalogue']['title_last_updated'], 'sort', $current_page, $_GET['sort']), 'translations' => $lang['translate']['title_translations'] ); Thanks, Me
  2. Well, Brian, I did not know about the white space around the brackets. I'll look into that asap.
  3. Hi, This was strange. I was working on the styling of my checkout page (put a border border radius on a button) and all the sudden I can't see my store front end. Admin is working fine. I see this in my error log: [02-May-2018 11:56:59 America/Louisville] PHP Notice: Undefined index: in /home/claudias/public_html/classes/catalogue.class.php on line 307 And in admin/maintenance/database I got this: And when I went to control panel I see I have 2 admin.php files: Oh and when I check the developer tools in FireFox on my homepage it says there is no style sheet. I've checked the element.ccs in my skin and it looks fine. I did notice prior to all this that the developer tool was showing a style sheet from another skin - but the files in this skin are correct. I was wondering why my button wouldn't change. Yes, I cleared my caches! When I checked the correct style sheet the first line had a . in a red box in front of the .bggg{background-color: #CDDACB;}. Seems like all this started when I removed the red box . Thanks for any and all help!
  4. There is one thing about this code. Not all my products have a manufacturer, but if I don't put anything in the field it won't let me save the other changes. The add manufacturer field you added just turns pinkish red.
  5. I got it to work. I copied the instructions from the email I received about the post, not the actual forum post. The email read and I couldn't find that complete line: Near line 70, find: if (!empty($_POST['product_id']) && is_numeric($_POST['product_id'])) { dbgClue('We are updating a product.',array(),false); FORUM READ: On a new blank line ABOVE that, add: Near line 70, find: if (!empty($_POST['product_id']) && is_numeric($_POST['product_id'])) {
  6. Trying to implement this today but my code isn't lining up with yours. I'm on CC 6.2.0
  7. Is there any way in admin/Product to have an "Add manufacturer" feature in the dropdown menu where you add the manufacturer instead of having to go to the manufacturer menu section each time you add a product? Thanks in advance, Claudia
  8. Well, that makes for an interesting layout. I like it!! Now I guess I should upgrade to 1.0.11 and apply ALL these changes. Thanks, Brian
  9. It shows in the marketplace. - Sorry 1.0.11. Is it older even though the number is higher?
  10. I am using 1.0.10 - I didn't get a notification about the 1.1.11 upgrade. Does this new version have the features you added - edit entire table, reorder rates, etc.....?
  11. This is just one of those annoying things that can bug the bejeebers out of a person. I have quite a few zones in AIOS and when I go to edit or add rates to a particular zone this is what I see. Anyway to perhaps get the zone I'm editing on its own line. Thanks in advance!
  12. I did purchase Droidedit the other day! Glad to know I chose a good one! Thanks!
  13. Hi, I just got a Samsung Android tablet and I was wondering if anyone used a tablet like this to work on their site. Some example: upgrade to latest CC version, list a product, change code. I have never used a table for anything before so please roll your eyes but help me if you can. What app do you use to edit the php html? Any other information I should know? Thanks in Advance, Claudia
  14. I don't think the two are connected. I just tested and this is what it shows when a logged in customer has added an item to their cart. I added the 'view basket" link myself awhile back. Click the words you go to the view your basket page. Click the dollar amount you get the mini basket with go to secure checkout.
  15. I did add some code to the cubecart.class file for a Custom Sort mod from SemperFi (the plugin he has doesn't work for me). That would explain the line change. If you don't think it's worrisome, I'll just ignore this error.
  16. "That particular warning is "ignore-able", but please keep in mind it gets logged because CubeCart is not agreeing with something. Therefore, in this specific regard, CubeCart may not operate exactly as one may expect. Still, /classes/cubecart.class.php, line 1700 is not where the error message is supposed to be coming from." Well, that's going to bug me! Anyway we can find out why this error is happening? Could it be in here? Here is my code for skins/contents/checkout.small: <table class="expand"> {if isset($SHIPPING)} <tr> <td class="bdco-right"colspan="4"> <span class="txt pad-top">Select your shipping method </span><br /> <span class="txt-med" style="font-weight:normal; padding-bottom:0.625rem!important;"> This may change if your delivery address changes during the checkout process</span> <ul class="no-bullet center" style="margin-top: 0rem!important;margin-bottom: 0rem!important;"> {foreach from=$SHIPPING key=group item=methods} {foreach from=$methods item=method} <li> <input name="shipping" type="radio" value="{$method.value}" id="{$method.value}" {$method.selected|replace:'selected':'checked'}><label for="{$method.value}">{$method.display}</label> </li> {/foreach} {/foreach} </ul> </td> </tr> And further down: <tr> <td class="bg-white txt"colspan="6"> {if $ESTIMATE_SHIPPING} <a class="txt-med bold bgw" href="#">Get a Shipping Estimate for your Delivery Address</a> <div> <div class="txt norm">Specify your delivery address below. All information is required to get an accurate quote</div> <div class="thinpad-top"><span class="txt-sm deep-red norm deep-red">For locations outside of the United States and its territories not available below please <a class="uline" href="/contact-us.html"target="_blank" title="Contact Us">contact us.</a> &nbsp;&nbsp; Why we have this <a class="uline" href="/payments-/-shipping.html"target="_blank" title="International Shipping Policy">International Shipping Policy</a> </span></div> <div class="pad-top"for="estimate_country">{$LANG.address.country}</div> <select name="estimate[country]" id="estimate_country" class="nosubmit country-list" rel="estimate_state"> {foreach from=$COUNTRIES item=country}<option value="{$country.numcode}" {$country.selected}>{$country.name}</option>{/foreach} </select> <div for="estimate_state">{$LANG.address.state}</div> <input type="text" name="estimate[state]" id="estimate_state" value="{$ESTIMATES.state}" placeholder="{$LANG.address.state}"> <div for="estimate_postcode">{$LANG.address_en.zipcode}</div> <input type="text" value="{$ESTIMATES.postcode}" id="estimate_postcode" placeholder="{$LANG.address_en.zipcode}" name="estimate[postcode]"> <input type="submit" name="get-estimate" class="button expand" value="{$LANG.basket.fetch_shipping_rates}"> <script type="text/javascript"> var county_list = {$STATE_JSON}; </script> </div> {/if} </td></tr>
  17. No, if you click Fetch Shipping Rates it does update and shows shipping options with th default rate applied. If you select a different shipping rate other than the default it automatically applies that rate without having to update. The customer ony has to manually update the cart if I have "Allow physical orders even if no shipping options are available" enabled - which I don't. Does my code look ok? Can I ignnore that warning in my error log?
  18. I changed the code to radio buttons per a post in this forum. Here is my code for skin/content/checkout-medium-up. And I changed the Estimate code too. Also disabled intial shipping in store admin. For radio buttons: {if isset($SHIPPING)} <tr> <td colspan="4"> <span class="txt pad-top">Select your shipping method </span><br /> <span class="txt-sm deep-red" style="font-weight:normal; padding-bottom:0.625rem!important;"> This may change if your delivery address changes during the checkout process</span> <ul class="no-bullet center" style="margin-top: 0rem!important;margin-bottom: 0rem!important;"> {foreach from=$SHIPPING key=group item=methods} {foreach from=$methods item=method} <li> <input name="shipping" type="radio" value="{$method.value}" id="{$method.value}" {$method.selected|replace:'selected':'checked'}><label for="{$method.value}">{$method.display}</label> </li> {/foreach} {/foreach} </ul> </td> <td class="bg-white">{$LANG.basket.shipping}<br /> </td> <td class="text-right bg-white">{$SHIPPING_VALUE}</td> </tr> Then for the Estimate: <td class="bg-white txt pad-top bd-top"colspan="6"> {if $ESTIMATE_SHIPPING} <a class="bg-white" href="#">Get a Shipping Estimate for your Delivery Address</a> <div> <div class="txt-med norm">Specify your delivery address below. All information is required to get an accurate quote</div> <div class="thinpad-top"><span class="txt-sm norm deep-red">For locations outside of the United States and its territories not available below please <a class="uline" href="/contact-us.html"target="_blank" title="Contact Us">contact us.</a> &nbsp;&nbsp; Why we have this <a class="uline" href="/payments-/-shipping.html"target="_blank" title="International Shipping Policy">International Shipping Policy</a> </span></div> <div class="pad-top"for="estimate_country">{$LANG.address.country}</div> <select name="estimate[country]" id="estimate_country" class="nosubmit country-list" rel="estimate_state"> {foreach from=$COUNTRIES item=country}<option value="{$country.numcode}" {$country.selected}>{$country.name}</option>{/foreach} </select> <div for="estimate_state">{$LANG.address.state}</div> <input type="text" name="estimate[state]" id="estimate_state" value="{$ESTIMATES.state}" placeholder="{$LANG.address.state}"> <div for="estimate_postcode">{$LANG.address.postcode}</div> <input type="text" value="{$ESTIMATES.postcode}" id="estimate_postcode" placeholder="{$LANG.address.postcode}" name="estimate[postcode]"> <input type="submit" name="get-estimate" class="button expand" value="{$LANG.basket.fetch_shipping_rates}"> <script type="text/javascript"> var county_list = {$STATE_JSON}; </script> </div> {/if} </td></tr> Then in skin js/2.cubecart.js I changed line 82 too: $(".autosubmit select, .autosubmit input[type='radio']").not('.nosubmit').change(function() { $(this).parents(".autosubmit").submit(); });
  19. "In the code, I see that "Disable shipping and tax estimates" and "Allow physical orders even if no shipping options are available" do not interact with each other. The error message implies "Allow if no shipping" is not enabled, and that no shipping modules are returning any rates. " So the error is not really a big deal? if you check Allow physical orders even if no shipping options are available then the customer has to click "update cart" to see shipping rates after using the estimator.
  20. Hi, I Disabled initial shipping & tax estimates in admin/store settings/features now I'm getting a lot of warnings in my error log. Anything to be concerned with? Thanks in advanced. [18-Mar-2018 10:03:20 America/Louisville] PHP Warning: Shipping not setup or allow no shipping not enabled in /home/claudias/public_html/classes/cubecart.class.php on line 1700 [18-Mar-2018 10:14:57 America/Louisville] PHP Warning: Shipping not setup or allow no shipping not enabled in /home/claudias/public_html/classes/cubecart.class.php on line 1700 [18-Mar-2018 10:18:15 America/Louisville] PHP Warning: Shipping not setup or allow no shipping not enabled in /home/claudias/public_html/classes/cubecart.class.php on line 1700 Also getting this error but I don't know if it's connected. 18-Mar-2018 05:18:07 UTC] PHP Warning: array_merge() [&lt;a href='http://docs.php.net/manual/en/function.array-merge.php'&gt;function.array-merge.php&lt;/a&gt;]: Argument #1 is not an array in /home/claudias/public_html/classes/seo.class.php on line 357 [18-Mar-2018 05:57:02 UTC] PHP Warning: Invalid Security Token in /home/claudias/public_html/classes/sanitize.class.php on line 152
×
×
  • Create New...