ahranalytics
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Blog Stats] Show count of specific post of a taxonomyI just want to show my users the stats of what I encircled in the screenshot.
I just used the right tax name, example:
[sbs_tax_posts tax=”principal_author” terms=”benny-fog-t-abante-iii” type=”custom-post-type”] and still returned zero. I can assure that I spelled this correctly.
- This reply was modified 2 years, 11 months ago by ahranalytics.
Forum: Plugins
In reply to: [Simple Blog Stats] Show count of specific post of a taxonomyHi Jeff,
Thanks for responding, however it’s not working. I’ve already seen the documentation before I posted my question here.
My taxonomy is principal_author, and the term would be ernesto-jong-isip-jr. Therefore I used [sbs_tax_posts tax=”principal_author” terms=”ernesto-jong-isip-jr” type=”custom-post-type”] and the output is zero. Am I doing it correctly?
yes but the support did only seen my query. Im still waiting tho.
Forum: Plugins
In reply to: [Delivery & Pickup Date Time for WooCommerce] Set up and options are gonehere’s the screenshot of the console.
Perfect! Thank you.
Hi @alexmigf
Thanks! Not what I want but I found a way transferring the data to PDF Invoice not in the packing slips.
Last one before I mark this as resolved, I want to add a phone number as well but it is not working and the phone number I input didnt reflected on the PDF Invoice, see my code:
//Viber add_action( 'wpo_wcpdf_after_order_data', function( $document_type, $order ) { if ( ! empty($order) && $document_type == 'invoice' ) { ?> <tr class="billing_viber"> <th>Viber:</th> <td><?= $order->get_meta('billing_viber'); ?></td> </tr> <?php } }, 10, 2 ); //Phone add_action( 'wpo_wcpdf_after_order_data', function( $document_type, $order ) { if ( ! empty($order) && $document_type == 'invoice' ) { ?> <tr class="billing_phone"> <th>Contact no:</th> <td><?= $order->get_meta('billing_phone'); ?></td> </tr> <?php } }, 10, 2 );Screenshot:https://imgur.com/TFnare0
I am always keen to buy the premiumship but I want to analyze first if this plugin really helps me in terms of technicalities before buying it.
Thank you though for sending the link for customization, however none of the code is working for me. See my code below:
add_action( ‘wpo_wcpdf_after_order_data’, ‘wpo_wcpdf_billing_viber’, 10, 2 );
function wpo_wcpdf_billing_viber ($template_type, $order) {
if ($template_type == ‘packing-slip’) {
$document = wcpdf_get_document( $template_type, $order );
?>
<tr class=”billing_viber”>
<th>Viber:</th>
<td><?php $document->custom_field(‘billing_viber’); ?></td>
</tr>
<?php
}
}I am trying to put the billing_viber data to the PDF invoice.
Thanks you!
Thanks for responding. However Im a little bit confused, where I could find that in the settings tried to look from WooCommerce > Settings > Shipping and I couldnt find it.
Help please thank you!
thank you but it only works in packing slip. I need it also in the Invoice? Is this possible?
I can give you a copy. Let me know your email address.