Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Tifoserie

    (@duemmler)

    Hi Cory,

    thanks foor your answer. I tried a few hours later and there wasnt a problem any more

    Thread Starter Tifoserie

    (@duemmler)

    no one got an idea?

    Thread Starter Tifoserie

    (@duemmler)

    Hi, sorry for my delayed reply.

    I solved the problem with this code:

    // Product line items: price only
    add_filter(
    	'wgm_checkout_add_tax_to_product_item',
    	function ( $item, $amount, $tax, $tax_display, $tax_label, $tax_amount, $tax_decimals, $tax_rate_formatted ) {
    		if ( isset($totals['shipping']) ) {
    			$item = $amount; // removed tax from output
    		}
    
    		return $item;
    	}, 10, 8 );
    
    // Shipping costs: empty string for taxes
    add_filter( 'wgm_get_split_tax_html', '__return_empty_string' );
    
    // Order total: empty string for taxes
    add_filter( 'wgm_get_totals_tax_string', '__return_empty_string' );

    the authors of German Maket give me the hint

    Thread Starter Tifoserie

    (@duemmler)

    hi there,

    I have tried all variations you mentioned but nothing changed. could it be that the problem is I use a customized template?

    <table class="order-details">
    	<thead>
    		<tr>
    			<th class="product"><?php _e('Product', 'wpo_wcpdf'); ?></th>
    			<th class="quantity"><?php _e('Quantity', 'wpo_wcpdf'); ?></th>
                <th class="price">Einzelpreis</th>
    			<th class="price"><?php _e('Price', 'wpo_wcpdf'); ?></th>
    		</tr>
    	</thead>
    	<tbody>
    		<?php $items = $wpo_wcpdf->get_order_items(); if( sizeof( $items ) > 0 ) : foreach( $items as $item_id => $item ) : ?>
    		<tr class="<?php echo apply_filters( 'wpo_wcpdf_item_row_class', $item_id, $wpo_wcpdf->export->template_type, $wpo_wcpdf->export->order ); ?>">
    			<td class="product">
    				<?php $description_label = __( 'Description', 'wpo_wcpdf' ); // registering alternate label translation ?>
    				<span class="item-name"><?php echo $item['name']; ?></span>
    				<?php do_action( 'wpo_wcpdf_before_item_meta', $wpo_wcpdf->export->template_type, $item, $wpo_wcpdf->export->order  ); ?>
    				<span class="item-meta"><?php echo $item['meta']; ?></span>
    				<dl class="meta">
    					<?php $description_label = __( 'SKU', 'wpo_wcpdf' ); // registering alternate label translation ?>
    					<?php if( !empty( $item['sku'] ) ) : ?><dt class="sku"><?php _e( 'SKU:', 'wpo_wcpdf' ); ?></dt><dd class="sku"><?php echo $item['sku']; ?></dd><?php endif; ?>
    					<?php if( !empty( $item['weight'] ) ) : ?><dt class="weight"><?php _e( 'Weight:', 'wpo_wcpdf' ); ?></dt><dd class="weight"><?php echo $item['weight']; ?><?php echo get_option('woocommerce_weight_unit'); ?></dd><?php endif; ?>
    				</dl>
    				<?php do_action( 'wpo_wcpdf_after_item_meta', $wpo_wcpdf->export->template_type, $item, $wpo_wcpdf->export->order  ); ?>
    			</td>
    			<td class="quantity"><?php echo $item['quantity']; ?></td>
                <td class="price"><?php echo $item['single_price']; ?></td>
    			<td class="price"><?php echo $item['price']; ?></td>
    		</tr>
    		<?php endforeach; endif; ?>
    	</tbody>
    	<tfoot>
    		<tr class="no-borders">
    			<td class="no-borders">
    				<div class="customer-notes">
    					<?php if ( $wpo_wcpdf->get_shipping_notes() ) : ?>
    						<h3><?php _e( 'Customer Notes', 'wpo_wcpdf' ); ?></h3>
    						<?php $wpo_wcpdf->shipping_notes(); ?>
    					<?php endif; ?>
    				</div>
    			</td>
    			<td class="no-borders" colspan="3">
    				<table class="totals">
    					<tfoot>
    						<?php foreach( $wpo_wcpdf->get_woocommerce_totals() as $key => $total ) : ?>
    						<tr class="<?php echo $key; ?>">
    							<td class="no-borders"></td>
    							<th class="description"><?php echo $total['label']; ?></th>
    							<td class="price"><span class="totals-price"><?php echo $total['value']; ?></span></td>
    						</tr>
    						<?php endforeach; ?>
    					</tfoot>
    				</table>
    			</td>
    		</tr>
    	</tfoot>
    </table>
    Thread Starter Tifoserie

    (@duemmler)

    Hi there,

    thanks a lot for your quick reply. unfortunately the modifications didnt bring any result.

    bur you are right. I am using German Market. So I will ask the author of that plugin

    Thread Starter Tifoserie

    (@duemmler)

    unfortunately nothing happend after the update

    please give me you mail adress and i will send you your login details to take a look

    Thread Starter Tifoserie

    (@duemmler)

    ok no problem. i will wait until tomorrow. and try it

    Thread Starter Tifoserie

    (@duemmler)

    hi

    where can i find update 1.1.5?
    just give me an e-mail and i will send you some account detail

    thanks for your great support

    Thread Starter Tifoserie

    (@duemmler)

    Hi,

    no i dont have any custom prefixes and the prefix is ost_

    I have already reinstalled my osticket and the plugin. but the result is the same

    take a look https://www1.xup.to/exec/ximg.php?fid=94662279

    just the amount of the tickets has changed

    Thread Starter Tifoserie

    (@duemmler)

    thanks a lot for your fast reply

    Yes, downloaded from here this morning. Screenshot: https://www1.xup.to/exec/ximg.php?fid=82331483

Viewing 10 replies - 1 through 10 (of 10 total)