wp_hela
Forum Replies Created
-
Forum: Plugins
In reply to: [mqTranslate] translated menu items disappearooops … just saw this one
“Qtranslate Slug:
This plugin requires at least WordPress 3.3 and either mqTranslate 2.6.2.4 (or newer) or qTranslate 2.5.8 (or newer)”however i have mqtranslate 2.9.1.2 installed
Forum: Plugins
In reply to: [mqTranslate] translated menu items disappearSame here.
It seems as the <!–:de–>Menü<!–:–><!–:en–>Menu<!–:–> ist translated in the menu editor. I. e. it shows either Menü or Menu depending of the language of the admin panel.
And if you save the menu, it doesn’t save the <!–:de–>Menü<!–:–><!–:en–>Menu<!–:–> … because that don’T show up at all … it saves Menü or Menu and the multilingual support for the menu os gone ??
Forum: Plugins
In reply to: [mqTranslate] Unwanted blank line and formatting issuesSame here …
I guess the problem is, that the editor wraps the comments in:
<!–:en–>Dates & Rates<!–:–>
in paragraphs.
<p><!–:en–></p><p>Dates & Rates</p><p><!–:–></p>
I. e. the editor sees </p><p>Dates & Rates</p><p> and closes the open <p>-tags … this is my gues I’m working on.
@boborg: Meanwhile I found out why it didn’t work in my case:
in my installation (upgrade to wp 3.9) in ‘wp-includes/js/tinymce/plugins’ was not folder ‘importcss’ with ‘plugin.min.js’ inside.
Downloaded tinymce from the official site, copied the folder ‘importcss’ to ‘wp-includes/js/tinymce/plugins’ and now it works ??
Thanks anyway for your response
@boborg: I have
add_action( ‘init’, ‘my_theme_add_editor_styles’ );
function my_theme_add_editor_styles() {
add_editor_style( ‘editor-style-dropdown.css’ );
}where ‘editor-style-dropdown.css’ is in my child theme’s root
I don’t get the classes shown in any dropdown ??
what else did you do to make it working on your site?
@treebeard: “Load the CSS classes box should be checked.” … I don’t see this option in TinyMCE Advanced 4.0.2 and WP 3.9
sorry for the delay … it’s on the way ??
invoice delivery note? … are talking about the woocommerce delivery notes plugin?
If yes, see what I did:
In …/plugins/woocommerce-delivery-notes/templates/print/print-delivery-note.php araound line 87
//hela //echo $item['price'].'<span style="font-size:smaller; margin-left:1em;">(inkl. ' .round($item['line_tax']/$item['line_subtotal']*100,0) . '%)</span>'; $_tax = new WC_Tax();//MwSt.-Satz für Produkt raussuchen global $product; $_product = get_product( $item['variation_id'] ? $item['variation_id'] : $item['product_id'] ); $rates = array_shift($_tax->get_rates( $_product->get_tax_class() )); if (isset($rates['rate'])) {//Den zugewiesenen MwSt-Satz anzeigen if ($rates['rate'] == 0) {//Alternativtext, wenn 0% MwSt. $prima_tax_rate=$mehrwertsteuerBefreit; } else { $prima_tax_rate="inkl. ".round($rates['rate'])."% MwSt. "; } } else {//FailSafe: Wenn irgendetwas schiefgeht, besser das anzeigen, als gar nichts. $prima_tax_rate=$failSafe; } echo $item['price'].'<span style="font-size:smaller; margin-left:1em;">(' .$prima_tax_rate . ')';
So as you can see, I didn’t change much of the previous code in the order-datails.php
regards
HeinzDid you find this line in your /woocommerce/order/order-details.php???
echo ‘</td><td class=”product-total”>’ . $order->get_formatted_line_subtotal( $item ) . ‘</td></tr>’;
I work here with this version of the file:
/**
* Order details
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.3
*/I guess spanish doesn’t make any difference
regards
Heinz@proxio: I don’t know ??
1st check wether you are working on the correct file!
e.g. 2) look around line 72 for:
echo ‘</td><td class=”product-total”>’ . $order->get_formatted_line_subtotal( $item ) . ‘</td></tr>’;and change it to:
echo ‘</td><td class=”product-total”>@@@This is my file@@@’ . $order->get_formatted_line_subtotal( $item ) . ‘</td></tr>’;This is what I did:
1) copy order-details.php to your-child-theme/woocommerce/order/order-details.php
2) look around line 72 for:
echo ‘</td><td class=”product-total”>’ . $order->get_formatted_line_subtotal( $item ) . ‘</td></tr>’;//hela this shows the vat
//echo ‘</td><td class=”product-total”>’ . $order->get_formatted_line_subtotal( $item ) . ‘</td></tr>’;$_tax = new WC_Tax();//looking for appropriate vat for specific product
$rates = array_shift($_tax->get_rates( $_product->get_tax_class() ));
if (isset($rates[‘rate’])) { //vat found
if ($rates[‘rate’] == 0) { //if 0% vat
$prima_tax_rate=$mehrwertsteuerBefreit;
} else {
$prima_tax_rate=”inkl. “.round($rates[‘rate’]).”% MwSt. “;
}
} else {//FailSafe: just in case ??
$prima_tax_rate=$failSafe;
}
echo ‘</td><td class=”product-total”>’ . $order->get_formatted_line_subtotal( $item,”” ) .'<span style=”font-size:smaller; margin-left:1em;”>(‘ .$prima_tax_rate . ‘)</span></td></tr>’;This does the trick for me
regards
Heinz@tartan lad: Still looking?
Forum: Plugins
In reply to: [Woocommerce CSV importer] Import Incompletesame problems here … sorry no solution yet ??
Forum: Plugins
In reply to: [Woocommerce CSV importer] Memory issuesHave you tried to increase WordPress PHP-Memory Limit?
/wp/wp-admin/admin.php?page=woocommerce_status
WordPress PHP-Memory Limit: 96 MB
in wp-config.php add:
define(‘WP_MEMORY_LIMIT’, ’96M’);… or even higher
regards
HeinzForum: Plugins
In reply to: [Woocommerce CSV importer] "row: 1 / 4 Starting….."same here ??