kingbolo
Forum Replies Created
-
Hi dwpriv
With a slight adjustment it works.
I had to replaceUw BTW nummer <?php echo $custom_field; ?>
With
<tr class="vat-nummer">
<th>Uw BTW nummer</th>
<td><?php echo $custom_field; ?> </td>
</tr>That did the trick.
Thank you for your help.Hi,
Sorry, for the late reply. Totally missed your post.
Thank you, will try this.Thank you for your reply.
Yeas an If statement is possible. Just don’t know how to get that right.
The custom field is _billing_vat_number and generated by the plugin Woo EU VAT Number.
I have :function cust_vat_number ($template_type, $order) {
if ($template_type == ‘invoice’) {
$document = wcpdf_get_document( $template_type, $order );
?>
Uw BTW nummer custom_field(‘_billing_vat_number’); ?>
<?php
}
}$vat = get_post_meta( $post->ID, ‘_billing_vat_number’, true );
if( isset( $vat ) ){
add_action( ‘wpo_wcpdf_after_order_data’, ‘cust_vat_number’, 10, 2 );
}But this shows the preceding text in all cases. So also when an VAT number is not entered.
In addition:
The person that maintains the tables has not adjusted the tables that give these issues. He has not experienced this reordering with tables he did change or added rows to.
The tables have been imported from Datatables by Supsystic considerable time ago (2-3 years or so) Could this be a cause?
RegardsHi Numan,
Sorry for the delay, have been very busy.
I have corrected the tables on the live site.
Before that i have set up a copy of the site on another domain (same server) to test things. There the table is in the incorrect state / mixed up. The json file is from this test domain.
The tables are manually maintained and do not need to be sorted automatically. The order is determined manually. The first column “Onderdeel” shows the distance in which a record is achieved. That column starts with the shortest distance and builds up to the longest.https://www.nwvw.nl/temp/clubrecords-dames-master-45-weg.json
- This reply was modified 1 year, 1 month ago by kingbolo.
Second attempt:
Hi, thank you for your reply.
Hereby the screenshots of the front-end. The first is with the rows in wrong order. The second a example or how it should be.
These are records of amateur / recreational runners. Sorted by distance from short to long- This reply was modified 1 year, 1 month ago by kingbolo.
Forum: Plugins
In reply to: [Simple Share Buttons Adder] Size of images in blockYes, great improvement
Thank you
Forum: Plugins
In reply to: [Simple Share Buttons Adder] Size of images in blockGreat the shortcode works fine for me.
Thank you for your reply,
Forum: Plugins
In reply to: [Yoast SEO] Fatal error: Uncaught YoastSEO_VendorSame here. Can’t login in backend and both site and backend throw a fatal error.
Saw that Yoast has autoupdated today.
Moved both the free and the premium version from plugins directory to a temporary directory and now the site is back online.Hi Alberto,
Solved it. Was indeed custom css of the theme.
min-width of yith_woocommerce_ajax_search .sbHolder was set to 100%. Reduced that to 25%.
Also added top padding to vertical align the text “All Categories”Thank you for your help.
Hello Alberto
This is the url: https://rosenhaege.nl/shop/
I have updated Yith Ajax Search to see the issue.Forget I asked.
In plugin “Variations as single products for WooCommerce” there is a setting “Hide parent products on shop and category pages” When unchecking this the variavle product is shown om the search result page.After checking it seems that variable products are shown when plugin “Variations as single products for WooCommerce” is deactivated.
( https://woocommerce.com/products/variations-as-single-products-for-woocommerce/ )Is this a known issue? Do you have a idea how to solve having both plugins working together?
Addition to this:
when removing ?dgwt_wcas=1 from the URL the variable products show correctly on the page.