Forum Replies Created

Viewing 15 replies - 16 through 30 (of 134 total)
  • Thread Starter jackofallspades

    (@jackofallspades)

    I see – ok thank you. You can mark as resolved!

    Thread Starter jackofallspades

    (@jackofallspades)

    I hit reply through email and wrote you back and can see in my sent items, but it never made it here, and I had been waiting to hear from you!

    It is working now. I updated chrome and that problem went away!

    My other question for you was if there is a way for a product category to show the average rating of products within that category?

    Thread Starter jackofallspades

    (@jackofallspades)

    I really appreciate your response! Unfortunately, I tried it, and it did not work. I am not sure if I pasted those snippets correctly before, so let me do it again just to be sure. And then maybe we can see what it needs to be changed to. Also, was I supposed to put both of those snippets into one that you posted above, or just the second on?

    Thank you in advance!

    add_filter( 'woocommerce_package_rates', 'businessbloomer_hide_free_shipping_for_shipping_class', 10, 2 );
       
    function businessbloomer_hide_free_shipping_for_shipping_class( $rates, $package ) {
      
       $shipping_class_target = '1750'; // This is Stag & Doe shipping class ID 
       $in_cart = false;
       foreach ( WC()->cart->get_cart_contents() as $key => $values ) {
          if ( $values[ 'data' ]->get_shipping_class_id() == $shipping_class_target ) {
             $in_cart = true;
             break;
          } 
       }
       if ( $in_cart ) {
          unset( $rates['WB_Custom_WooCommerce_Shipping_Method52'] ); // This is Delivery shipping method with ID 
       }
       return $rates;
    
    }
    add_filter( 'woocommerce_package_rates', 'businessbloomer_hide_free_shipping_for_shipping_class', 10, 2 );
       
    function businessbloomer_hide_free_shipping_for_shipping_class( $rates, $package ) {
      
    
     $shipping_class_target = '1173'; // This is Deluxe Tables shipping class ID 
       $in_cart = false;
       foreach ( WC()->cart->get_cart_contents() as $key => $values ) {
          if ( $values[ 'data' ]->get_shipping_class_id() == $shipping_class_target ) {
             $in_cart = true;
             break;
          } 
       }
       if ( $in_cart ) {
          unset( $rates['local_pickup:45'] ); // This is Local Pick up shipping method with ID 
       }
       return $rates;
    }
    Thread Starter jackofallspades

    (@jackofallspades)

    I have tried that yes – both logged in and not logged in. Is it supposed to keep adding the $20 fee for set up each time a product with the shipping class is in the cart? So if 3 products are in the cart that are all from the same shipping class, will it just charge the shipping charge once, or 3 times?

    Thread Starter jackofallspades

    (@jackofallspades)

    I am not fully comfortable figuring out filters.

    Am I able to just do the first one through your plugin?

    I am trying to give all products from a certain few categories (lets call them Category A and B) 10% off IF there is this product variation #31844 in the cart.

    Thread Starter jackofallspades

    (@jackofallspades)

    Oh, thanks for trying to help. This is beyond my skill set.

    Thread Starter jackofallspades

    (@jackofallspades)

    Ok, I appreciate your time. Love your plugin!! I will make sure to leave a review.

    Thread Starter jackofallspades

    (@jackofallspades)

    This is what I have in styling:

    .pdf_invoice_heading_table {
    width: 50%;
    }

    .pdf_invoice_seller_buyer_table th {
    font-weight: bold;
    }
    /* pdf_invoice_items_table */
    .pdf_invoice_items_table {
    padding: 5px;
    }
    .pdf_invoice_items_table th {
    font-weight: bold;
    border: 1px solid #F0F0F0;
    }
    .pdf_invoice_items_table td {
    border: 1px solid #F0F0F0;
    }
    /* pdf_invoice_totals_table */
    .pdf_invoice_totals_table {
    padding: 5px;
    }
    .pdf_invoice_totals_table th {
    width: 85%;
    text-align: right;
    }
    .pdf_invoice_totals_table td {
    width: 15%;
    text-align: right;
    border: 1px solid #F0F0F0;
    }`

    By resetting it, do you mean delete it, save it, and then put back?

    Another question I have while we are sorting this out, is I have this in the template for the price column: line_subtotal_tax_excl Is there a column I can put that will list its discount? I have tried many of the codes listed on your site as a test, but they all come up as $0.00 and instead a discount is applied near the subtotal. This is what I have at subtotal: [wcj_order_meta meta_key=”_cart_discount” before=”-$”] I was hoping to have a line item list its discount or what the sale price is. I tried the sale price code and it didn’t work either. These discounts are from a bundle, and each bundled item is listed at a percentage off.

    Lastly, how do I make that total discount that I listed above, be $160.00 vs $160 which shows now? I would like to add 2 decimal places to that.

    Thanks!

    Thread Starter jackofallspades

    (@jackofallspades)

    Ok thank you

    Thread Starter jackofallspades

    (@jackofallspades)

    Ok, and the custom document… is that a premium only option too?

    Thread Starter jackofallspades

    (@jackofallspades)

    Sure, this is what I have for the HTML template.

    <h1>Your Booking Request</h1>
    <p>Thank you for booking with Jack of all Spades, [wcj_order_checkout_field field_id="billing_first_name"]!  You selected [wcj_order_payment_method] as your Method of Payment, in the amount of [wcj_order_total].  Please see below for your list of items ordered.  Reply to this email if you would like to make any changes.</p>
    <p>Event Date: [wcj_order_items_meta meta_key="_wapbk_booking_date" unique_only="yes"]</th><td></p>
    <p>
    <table class="pdf_invoice_heading_table">
    </table>
    </p>
    <p>
    <table class="pdf_invoice_seller_buyer_table">
    <tbody>
    	<tr><th>Billing Info</th><th>Event Address</th></tr>
    	<tr><td>[wcj_order_billing_address]<br>[wcj_order_checkout_field field_id="billing_phone"]<br>[wcj_order_checkout_field field_id="billing_email"]</td><td>[wcj_order_shipping_address hide_if_zero="no"]</td></tr>
    </tbody>
    </table>
    </p>
    <p>
    [wcj_order_items_table
        table_class="pdf_invoice_items_table"
        exclude_by_categories="ignore"
        product_image_width="50"
        product_image_height="50"
        columns="product_thumbnail|item_name|item_quantity|product_purchase_note|line_subtotal_tax_excl|line_tax"
        columns_titles="Pic|Product|Quantity|Note|Price"
        columns_styles="width:10%;|width:25%;|width:10%;|width:45%;|width:10%;text-align:center;"]
    <table class="pdf_invoice_totals_table">
    <tbody>
    	<tr><th>Subtotal</th><td>[wcj_order_subtotal]</td></tr>
            <tr><th>Transportation, Delivery, Set up, Pick up, Teardown Charge</th><td>[wcj_order_shipping_price excl_tax]</td></tr>              
            <tr><th>Coupon Code (Discount)</th><td>[wcj_order_meta meta_key="_cart_discount" before="-$"]</td></tr>
            <tr><th>Credit Card Fee (Stripe)</th><td>[wcj_order_fee name="Stripe Credit Card Processing Fee"]</td></tr> 
    	<tr><th>Taxes (HST)</th><td>[wcj_order_total_tax]</td></tr>
    	<tr><th>Order Total</th><td>[wcj_order_total]</td></tr>
    </tbody>[wcj_tcpdf_pagebreak]
    <b>Signatures</b><br><br>I have inspected these items and agree that everything listed on this invoice was received.  If there are any damaged items, I have noted them below.  Otherwise it is assumed that everything was received in perfect working order.<br><br><br>
    First Name: ___________________________________________<br><br>
    Last Name: ___________________________________________<br><br>
    Signature:  ______________________________________________<br><br>
    Cell Phone #: ____________________________________________<br><br>
    <br><br><br>
    <b>Damages to Note</b><br><br>
    ____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________
    </table>
    </p>
    Thread Starter jackofallspades

    (@jackofallspades)

    I never use Chrome, so I have no idea honestly! I only use safari normally. Here is an example: https://jackofallspades.ca/product/crown-and-anchor/

    Thread Starter jackofallspades

    (@jackofallspades)

    Ok, guess you are not replying.

    Thread Starter jackofallspades

    (@jackofallspades)

    Ok thanks anyhow ??

    Thread Starter jackofallspades

    (@jackofallspades)

    One other thing I have noticed, is that it WILL hide variations when there are just a few options. But as I grew my list, I notice it won’t work anymore. When I delete them, it does! I even switched it over to labels rather than images, and same story.

    For instance, if you select type of event as “Stag & Doe” there is only one variation listed for this one. The answer has to be “free self pick up” and the next two “NA”. It should be hiding all other options – what am I doing wrong.

    Is there a limitation as to how many it is able to hide? I have over 100 variations.

    Really hoping I hear from you soon!

Viewing 15 replies - 16 through 30 (of 134 total)