Jump to content

bkessler91

Member
  • Posts

    104
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by bkessler91

  1. Sorry I was under /admin/styles/

    doh

     but in  /admin/skins/default/styles/print.css
     

    Change to:
    /* #storeLabel img{width:100%!important;display:block} */

    resolved the problem

    I apologize about the confusion.  :/

  2. In /admin/skins/default/styles/print.css:

    I see

    #storeLabel {
        width: 80mm;
        height: 50mm;
        padding-top: 4mm;
        overflow: hidden;
        z-index: -1;
    }

    #storeLabel h3 {
        text-align: center;
        margin: 0px;
        padding: 0px;
    }

  3. In /admin/skins/default/styles/print.css:

    I see

    #storeLabel {
        width: 80mm;
        height: 50mm;
        padding-top: 4mm;
        overflow: hidden;
        z-index: -1;
    }

    #storeLabel h3 {
        text-align: center;
        margin: 0px;
        padding: 0px;
    }

  4. In /admin/skins/default/styles/print.css:

    I see

    #storeLabel {
        width: 80mm;
        height: 50mm;
        padding-top: 4mm;
        overflow: hidden;
        z-index: -1;
    }

    #storeLabel h3 {
        text-align: center;
        margin: 0px;
        padding: 0px;
    }

  5. Thank you, my logo is back.

    The first problem is still an issue, when printing an invoice, the image is stretched out and pixelated.

    When inspecting the image, see attached image

    pnglogo.jpg

  6. The first problem (which I did not resolve) was that the logo was all stretched out when I went to print out an invoice.

    I tried deleting the logo through Store Settings > Logos
    Then uploaded the logo again.
    This created a whole new problem:
    Now the invoice shows the "Your Logo" image...
    I have gone to the direcotry where the "Your Logo" image is locaated, and replaced default.png with my logo and named that default.png
    Still did not work. 

    (just upgraded 5.2.13 to 6.0.2)[not sure if that is showing up in my signature]

  7. CC 5.2.13 (just upgraded from 5.2.12)

     

    I am running a sale, and it may be that Coupon codes are messing up tax calculation (6% PA tax)

     

    Here is a sale from 9/20/2014 (running 5.2.12) and calculated tax fine
    note: 6% tax on items and shipping is needed.
     

     

    2 x 20102M49 ($10.50)

    $21.00
    Subtotal:$21.00
    Total Discount :$0.00
    Shipping:$5.05
    PA tax:$1.56
    Total:$27.61

     

     

    Here are two orders where tax was incorrect, where the customer used a coupon code (today 9/27/2014)

     

    1 x 1867FP14 ($10.99) $10.99

    $10.99
    1 x 1867FP2 ($10.99)
    1 x 1867FG23 ($10.99)$10.99
    1 x 7357L ($9.29)$9.29
    Subtotal:$42.26
    Total Discount :$5.00
    Shipping:$5.32
    PA tax:$1.28
    Total:$43.86

     

    1 x QP6 ($10.00)

    $10.00
    1 x 1867R12 ($8.79)$8.79
    1 x TJLgKit ($29.95)$29.95
    Subtotal:$48.74
    Total Discount :$5.00
    Shipping:$5.32
    PA tax:$1.47
    Total:$50.53

     

  8. I needed to change my email address where I get my confirmation emails as an admin.

     

    Example:

     

    The email address I used before was [email protected]

    I need to change it to [email protected]  (mydomain.com is my store)

     

    I went to Store Settings > Advanced and changed [email protected] (that was working) to [email protected]

     

    The problem is I am not getting the admin's confirmation email to [email protected]

     

    I switched back to [email protected], and I get admin confirmation email.

    Then I switched to another email address [email protected], and works fine, I got an admin email to that address when I did a 'test' order.

    Changed back to [email protected] again, works fine.

     

    I have used the [email protected] address to send an email to [email protected], and I did receive the test email at [email protected], I know that [email protected] is working.

     

    The only thing I can think of is that there is a problem with sending an email to the same domain name as my store?

  9. jQuery(document).ready(function() {
        var pp_acceptance = "<div style="text-align:center"><a href="https://www.paypal.com/uk/webapps/mpp/paypal-popup" title="How PayPal Works" onclick="javascript:window.open('https://www.paypal.com/uk/webapps/mpp/paypal-popup','WIPaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=1060, height=700'); return false;"><img src="http://www.speakeasyglass.com/cart/modules/plugins/PayPal_Pro/images/acceptance_marks_US.png" border="0" alt="Now accepting PayPal"></a></div>";
        $("body").append(pp_acceptance);
    });

    Change this-

    <img src="http://www.speakeasyglass.com/cart/modules/plugins/PayPal_Pro/images/acceptance_marks_US.png" border="0" alt="Now accepting PayPal">

    To this ?

    <img src="://www.speakeasyglass.com/cart/modules/plugins/PayPal_Pro/images/acceptance_marks_US.png" border="0" alt="Now accepting PayPal">

    Thank you for the reply!  I think I found the .js file and the lines to edit are above?

     

     

    I am having trouble locating where to make these changes.  Where is this file?

  10. Stuck in a loop at /index.php?_a=confirm

     

    I have entered an address, then changed a qty from 1 to 2, for example.

     

    Then click, "Update Basket"

     

    Now, the shipping field shows "-- Please Select -- "

     

    When I select the shipping method (there's only one) the page refreshes and then shows  "-- Please Select -- " in the shipping method once again.  When I click checkout, the site scrolls to the shipping field, asking for a shipping choice, then I choose one again the page refreshes, and repeat.

     

    Using:
    5.2.11
    All in One Shipping method

  11. I am having a similar issue (with a 5.2.11 site)

    When a customer sends their payment (Authorize.net gateway), sometimes the customer does not click the last button to return to site.

     

    Then, when I see the payment come through, I manually change the order from pending to processing.  When I change the order from pending to processing, I do not get an confirmation e-mail, but they do.

  12.  

    Good point.

     

    We have a choice to override 'price' with 'sale_price', or add 'Sale Price" to the list of sortable parameters (for all categories, or only when viewing the saleitems category).

     

    Let's override. In /classes/catalogue.class.php, near line 1228, edit:

    Was:
    } else if (strtolower($search_data) == 'sale') {
        if (isset($_GET['sort']) && is_array($_GET['sort'])) {
            foreach ($_GET['sort'] as $field => $direction) {
    Now:
    } else if (strtolower($search_data) == 'sale') {
        if (isset($_GET['sort']) && is_array($_GET['sort'])) {
            foreach ($_GET['sort'] as $field => $direction) {
            $field = ($field == 'price') ? 'sale_price' : $field;

    Works just fine with 'price' and 'sale_price'

     

  13. I enabled debug mode and tried the drop down sort menu.  I see 1111 lines in the MySQLi Queries

    Heres the first 29 lines

     

     

    MySQLi
    Queries (1111):
    [1] SELECT * FROM `CubeCart_sessions` WHERE CubeCart_sessions.session_id = 'cc89b7199891eacebe8ab7a9e3f001b0' LIMIT 1; -- (0.000344038009644 sec)
    [2] SELECT COUNT(*) AS Count FROM `CubeCart_sessions` WHERE CubeCart_sessions.session_id = 'cc89b7199891eacebe8ab7a9e3f001b0'; -- (0.000174045562744 sec) [CACHED]
    [3] SELECT * FROM `CubeCart_lang_strings` WHERE CubeCart_lang_strings.language = 'en-US' ; -- (0.000248193740845 sec) [CACHED]
    [4] SELECT * FROM `CubeCart_hooks` WHERE CubeCart_hooks.enabled = '1' ORDER BY priority ASC ; -- (0.000191926956177 sec) [CACHED]
    [5] SELECT `php_code`, `unique_id`, `description`, `hook_trigger` FROM `CubeCart_code_snippet` WHERE CubeCart_code_snippet.enabled = '1' ORDER BY `priority` ASC ; -- (0.000124931335449 sec) [CACHED]
    [6] SELECT `cat_id`, `cat_name`, `cat_parent_id` FROM `CubeCart_category` ORDER BY `cat_id` DESC ; -- (0.00542402267456 sec) [CACHED]
    [7] SELECT COUNT(*) AS Count FROM `CubeCart_category` ; -- (0.000346183776855 sec) [CACHED]
    [8] SELECT `cat_id`, `cat_name` FROM `CubeCart_category_language` WHERE CubeCart_category_language.language = 'en-US' ; -- (0.000255823135376 sec) [CACHED]
    [9] SELECT `array` FROM `CubeCart_config` WHERE CubeCart_config.name = 'logos' LIMIT 1; -- (0.000304937362671 sec) [CACHED]
    [10] SELECT COUNT(*) AS Count FROM `CubeCart_config` WHERE CubeCart_config.name = 'logos'; -- (0.00017786026001 sec) [CACHED]
    [11] SELECT `status`, `countries` FROM `CubeCart_modules` WHERE CubeCart_modules.folder = 'logos' LIMIT 1; -- (0.000180959701538 sec) [CACHED]
    [12] SELECT `folder` FROM `CubeCart_modules` WHERE CubeCart_modules.module = 'livehelp' AND CubeCart_modules.status = '1' ; -- (0.000227928161621 sec) [CACHED]
    [13] SELECT COUNT(*) AS Count FROM `CubeCart_modules` WHERE CubeCart_modules.module = 'livehelp' AND CubeCart_modules.status = '1'; -- (0.00020694732666 sec) [CACHED]
    [14] SELECT `array` FROM `CubeCart_config` WHERE CubeCart_config.name = 'olark' LIMIT 1; -- (0.000192880630493 sec) [CACHED]
    [15] SELECT COUNT(*) AS Count FROM `CubeCart_config` WHERE CubeCart_config.name = 'olark'; -- (0.000142097473145 sec) [CACHED]
    [16] SELECT `status`, `countries` FROM `CubeCart_modules` WHERE CubeCart_modules.folder = 'olark' LIMIT 1; -- (0.000159978866577 sec) [CACHED]
    [17] SELECT COUNT(*) AS Count FROM `CubeCart_modules` WHERE CubeCart_modules.folder = 'olark'; -- (0.000187873840332 sec) [CACHED]
    [18] SELECT * FROM `CubeCart_currency` WHERE CubeCart_currency.code = 'USD' ; -- (0.000313997268677 sec) [CACHED]
    [19] SELECT COUNT(*) AS Count FROM `CubeCart_currency` WHERE CubeCart_currency.code = 'USD'; -- (0.000169992446899 sec) [CACHED]
    [20] SELECT `customer_id` FROM `CubeCart_sessions` WHERE CubeCart_sessions.session_id = 'cc89b7199891eacebe8ab7a9e3f001b0' LIMIT 1; -- (0.000549077987671 sec)
    [21] SELECT COUNT(*) AS Count FROM `CubeCart_sessions` WHERE CubeCart_sessions.session_id = 'cc89b7199891eacebe8ab7a9e3f001b0'; -- (0.000213861465454 sec) [CACHED]
    [22] SELECT I.* FROM CubeCart_inventory AS I LEFT JOIN (SELECT product_id, MAX(price) as price, MAX(sale_price) as sale_price FROM CubeCart_pricing_group WHERE group_id = 0 GROUP BY product_id) as G ON G.product_id = I.product_id WHERE I.product_id IN (SELECT product_id FROM `CubeCart_category_index` as CI INNER JOIN CubeCart_category as C where CI.cat_id = C.cat_id AND C.status = 1) AND I.status = 1 AND IF (G.sale_price IS NULL, I.sale_price, G.sale_price) > 0 LIMIT 35 OFFSET 0 -- (0.0111889839172 sec) [CACHED]
    [23] SELECT I.* FROM CubeCart_inventory AS I LEFT JOIN (SELECT product_id, MAX(price) as price, MAX(sale_price) as sale_price FROM CubeCart_pricing_group WHERE group_id = 0 GROUP BY product_id) as G ON G.product_id = I.product_id WHERE I.product_id IN (SELECT product_id FROM `CubeCart_category_index` as CI INNER JOIN CubeCart_category as C where CI.cat_id = C.cat_id AND C.status = 1) AND I.status = 1 AND IF (G.sale_price IS NULL, I.sale_price, G.sale_price) > 0 -- (0.101717233658 sec) [CACHED]
    [24] SELECT `quantity`, `price` FROM `CubeCart_pricing_quantity` WHERE CubeCart_pricing_quantity.product_id = '15' AND CubeCart_pricing_quantity.group_id = '0' ORDER BY `quantity` ASC, `price` ASC ; -- (0.000486850738525 sec) [CACHED]
    [25] SELECT MAX(stock_level) AS `stock_level` FROM `CubeCart_option_matrix` WHERE CubeCart_option_matrix.product_id = '15' AND CubeCart_option_matrix.status = '1' AND CubeCart_option_matrix.use_stock = '1' ; -- (0.000263214111328 sec) [CACHED]
    [26] SELECT COUNT(*) AS Count FROM `CubeCart_option_matrix` WHERE CubeCart_option_matrix.product_id = '15' AND CubeCart_option_matrix.status = '1' AND CubeCart_option_matrix.use_stock = '1'; -- (0.00022292137146 sec) [CACHED]
    [27] SELECT `stock_level` FROM `CubeCart_inventory` WHERE CubeCart_inventory.product_id = '15' LIMIT 1; -- (0.000234127044678 sec) [CACHED]
    [28] SELECT COUNT(*) AS Count FROM `CubeCart_inventory` WHERE CubeCart_inventory.product_id = '15'; -- (0.000179052352905 sec) [CACHED]
    [29] SELECT * FROM `CubeCart_image_index` WHERE CubeCart_image_index.product_id = '15' ORDER BY `main_img` DESC LIMIT 1; -- (0.000268936157227 sec) [CACHED]

    I dont know if this will help you or not...

     

     

     

    Sorry. /classes/catalogue.class.php, near line 1241.

     

    I added return true; and the drop down sort menu still does not work.

  14. Is this problem on a store running CC5.2.7, as your sig indicates? Or have you installed CC5.2.10?

     

    If CC5.2.10, would you please try this. In the file /classes/category.class.php, near line 1253, find (long lines abbreviated):

    if (($sale = $GLOBALS['db']->query($query)) !== false) {
      $q2 = sprintf("SELECT I.* FROM %1$sCubeCart_inventory .....
      $count = $GLOBALS['db']->query($q2);
      $this->_category_count = (int)count($count);
      $this->_category_products = $sale;
    }

    On a new line below the closing brace, add:

    return true;

    Edit: Umm... I'm not seeing how that would make a difference.

     

    I could not find anything like this code in 5.2.7

×
×
  • Create New...