damogo
Forum Replies Created
-
Thanks for the suggestion @jeffstieler,
As most of the people writing to you with issues I am a newbie in this, this is what I got so far with no luck:
<?php $packages = WC()->shipping->get_packages(); echo $packages[wc_connect_packages]->box_id; ?>I know you do not support for code customizations but I really need a hand hahaha
- This reply was modified 8 years, 1 month ago by damogo.
Hi @jeffstieler,
I will do those tests, they sound like they may work, now I have a second question, I was able to modify the code to pull the total weight of my cart and display it on the car totals, but I have issues trying to find the function that pulls the box sizes like the debug mode does, is there a way I can do that without activating the debug mode? this is for quote purposes.
This is the code I used to pull the total weights:
<td class="product-weight"> <?php echo '<p class="total-weight">' . __('Total Weight: ', 'woocommerce'); echo apply_filters( 'woocommerce_cart_item_weight', WC()->cart->cart_contents_weight); echo get_option('woocommerce_weight_unit'); ?> </td><!-- /.product-weight -->Hello @jeffstieler, thank you very much for answering.
I am shipping from 67211, I was able to fix the costs by adjusting the weights of the boxes and now I am getting the right rates, but since I am trying to ship bottles (vitamins and supplements) I noticed by activating the debug mode that I am getting some odd box selections when trying to calculate shipping, for example I have a bottle which measurements are 5″x5″x6.9″ (LxWxH) and I am selecting 4 of them for testing purposes and the debug tells me that the box I should be using is a 14x10x6 (Which makes me think that the program is laying them down on the box and this is not optimal for bottles) when those products can fit perfectly in a 12x12x8 standing up (in a vertical way).
This also happened when I was trying to process an order over the phone, the debug mode showed the box 12x12x12 to calculate the shipping costs, when everything would fit on a 12x12x8. I double checked the sizes and weights on the bottles and everything seems to be ok, but the box selection so far has been really odd.
Is there any way to control that?
Forum: Plugins
In reply to: [Contact Form 7] Using HTML on Message (Mail Body)I solved this by installing WP HTML Mail.
Forum: Plugins
In reply to: [Contact Form 7] Using HTML on Message (Mail Body)Any ideas anyone?