anagam2016
Forum Replies Created
-
Hi,
Thanks for quick response.Changed the name of the files to super-socializer-bg_BG.po and super-socializer-bg_BG.mo. Unfortunately, it doesn’t work.
Forum: Developing with WordPress
In reply to: wordpress custom shortcode not working@bcworkz
Hi, thanks, will do the home work.
Sorry, I am just a beginner with no practical knowledge of coding.Forum: Developing with WordPress
In reply to: wordpress custom shortcode not working<?php /** * Add Promo code text to the Order emails */ add_action( 'woocommerce_email_before_order_table', 'add_tracking_code', 20); function add_tracking_code( $order, $is_admin_email ) { $shipping_tracking_code = get_post_meta( $order->id, '_shipping_tracking_code', true ); $url = 'https://www.rapido.bg/information/tracking-tovaritelnitsa'; $order = new WC_Order( $order_id ); if($order->status === 'shipped' ) { ob_start(); ?> <h3 style="text-align: center;"><?php _e( 'Your order tracking no', 'my-plugin' ); ?></h3> <div> <p style="text-align: justify;"><?php _e( 'Your order has been shipped from our warehouse thru courier service Rapido. Waybill no is: ', 'my-plugin' ); ?><font size="3" color="red"><b><?php echo $shipping_tracking_code; ?></b></font></p> <p><a href="<?php echo $url; ?>" ><?php _e( 'Track your shipment', 'my-plugin' ); ?></a></p> </div> <?php echo ob_get_clean(); } else { echo ' '; } } ?>
Above is the snippet which works well in customer note email
Can’t understand why it doesn’t work here, I mean cannot get the valipue of $shipping_tracking_code
Forum: Developing with WordPress
In reply to: wordpress custom shortcode not workingI tried this.
Now it returns only
‘Your shipping code is:,
The value of $shipping_tracking_code is not returned.
Btw i m trying to get this in woocommerce emailForum: Developing with WordPress
In reply to: wordpress custom shortcode not workingHi,
Thanks for your response. I tried it, it doesn’t work anyway
I am trying to get this displayed with these three options. In all cases no result1:<?php _e( do_shortcode( ‘[tracking_code]’ ) ); ?>
2:[tracking_code]
3:<?php echo $shipping_tracking_code; ?>Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Pdf file name customizationHi!
Thanks a lot!
It works perfectly.Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Pdf file name customizationThanking you in advance!
Hi,
Thanks a lot for your support with all the queries.
Yes indeed i am using plugin called rus-to-lat.
Will explore the plugin settings.Regards
Here is the code i copied from Custom PDF filenames
`/** PDF Invoice File name – Replace ‘invoice’ with ‘Фактура’ */
add_filter( ‘wpo_wcpdf_filename’, ‘wpo_wcpdf_custom_filename’, 10, 4 );
function wpo_wcpdf_custom_filename( $filename, $template_type, $order_ids, $context ) {
$invoice_string = _n( ‘invoice’, ‘invoices’, count($order_ids), ‘wpo_wcpdf’ );
$new_prefix = _n( ‘Фактура’, ‘Фактури’, count($order_ids), ‘wpo_wcpdf’ );
$new_filename = str_replace($invoice_string, $new_prefix, $filename);return $new_filename;
}Thanks a lot!
Will use custom template to add html text.One more question. Is it possible to have the name of invoice.pdf file in different encoding for eg cyrillic?
Followed the instructions at Custom PDF filenamesBut instead of getting file name as фактура.pdf, I am getting Factura.pdf
Thanks!
Hi!
Thanks a lot for response and for solutions.
Now realize about risks of using file_get_contents.
Instead of using file_get_contents, can we directly insert formatted html text into the template itself? Will this create any error?
If no could you please show me how to do this?Thanks
Hi Tom,
Downloaded and installed the new dev version.
Now the Widget displays the amount correctly and the message is displayed on Cart page, but no messages are displayed on Checkout page.“Hide all options when free is available” is not working on Checkout page. The paid shipping options are still displayed on Cart page and Checkout page even after the free shipping is qualified.
Please check
ThanksHi Tom,
Thanks for the update.
I had downloaded it and installed following all steps described by xysiu.The “Hide if Free is Available” is working fine.
Unfortunately, the following do no function:
1. Booster: Left to Free Shipping Widget
It does not display qualify amount
But when the qualified amount is reached it displays the custom message
2. “Left to free shipping amount” doesn’t show on Cart
3. “Left to free shipping amount” doesn’t show on Mini Cart
4. “Left to free shipping amount” doesn’t show on Checkout page
5. Custom Message on Free Shipping Reached continues to show even after the cart amount is reduced below (after reaching qualify amount)Please help
ThanksHi,
Thanks.
Will install the plugin.
I am new user and in early days of learning. So please bear with me for the next silly question.
How do i reinstall Deli painlessly and with minimum interruption for frontend visitors?
ThanksHi,
Thanks for response.
Here is the site https://www.anagambio.eu
>> now the mobile version is not functioning
> What does that mean? It’s working fine in my development installs > and here.The home page of the mobile version doesn’t load to full width as it used to before yesterday’s update
> What is the ‘Main page’? Do you mean the homepage? Again, this > is working just fine for me.
Yes the homepage
> Not sure what you mean again here. Do you mean you can’t click > through to the single product pages?
When we move to single product page a layer appears through out along the heights of the side bar widget items
here are the screenshots:
anagambio.eu/homepage-mobile-version.jpg
anagambio.eu/single-product-page.jpg> Yeah, I need to see a URL to diagnose what’s going on here ??
Thanks