Forum Replies Created

Viewing 15 replies - 31 through 45 (of 69 total)
  • Thread Starter rkrista

    (@rkrista)

    Oops, I’m sorry, it was a plugin conflict. It’s Autoptimize that caused it.
    Sorry and thanks for your help!

    Thread Starter rkrista

    (@rkrista)

    Hi Herman,
    I’ve just published the website so that you can see. It’s nonkonform.hu.
    Strangely, the hamburger menu is currently working on Android, but the secondary menu that appears only when you tap on ‘products’ in the main menu is falling apart. More exactly, when I continue refreshing the page, either it appears at the very top of the page, overlapping the main menu and the product images show, or the images don’t show and the secondary menu appears correctly.
    And the hamburger menu still doesn’t work on iPhone and iPad.

    I’ve got two other issues:
    – The images don’t show on the single product pages on mobile and tablet.
    – I can’t manage to set the background image on the tablet version in horizontal view, so that the background image appears behind the transparent menu. I tried to set a margin of -100, -200, even a -1000, but it didn’t help. It’s as if the main menu stopped being transparent. It’s set as transparent though.

    Thanks for your help!

    Thread Starter rkrista

    (@rkrista)

    Hi,
    I’ve got another issue, too. The plugin works well in browser, but not on mobile and on tablet. Only the first image is shown, the slider doesn’t work. What can I do in this case?
    Thank you!

    Thread Starter rkrista

    (@rkrista)

    Hi,
    Sorry for my late reply and thanks for your advise!

    The code slightly changed since then. I didn’t modify it though.
    But I made the changes you advised anyway. It didn’t help unfortunately.

    This is the URL in the latest email:
    https://nonkonform.hu/hu/?fcpdf=download&coupon_id=8073&hash=98c851a4053de4d9d3b050da345539d6

    I’ve just realized that it’s not possible to change ? to ». I save it, but it still shows ?.
    This is the code currently:

    <?php
    /**
     * Email z kuponem
     */
    
    if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
    
    <?php do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
    
    <h1><?php printf( esc_html__( 'Hi %s,', 'flexible-coupons'), $order->get_billing_first_name() . ' ' . $order->get_billing_last_name() ); ?></h1>
    
    <p><b><?php printf( esc_html__( 'In response to an order %s placed %s, we are sending you a coupon for shopping in our shop.', 'flexible-coupons'), $order_number, $date_order ) ; ?></b></p>
    
    <p><a href="<?php echo $meta['coupon_url']; ?>"><?php esc_html_e( 'Download PDF with the coupon ?', 'flexible-coupons'); ?></a></p>
    
    <?php if ( isset( $meta['coupon_code'] ) ): ?>
    	<p><?php printf( esc_html__( 'Coupon code: %s', 'flexible-coupons' ), $meta['coupon_code'] ); ?></p>
    	<p><?php printf( esc_html__( 'Coupon value: %s', 'flexible-coupons' ), $meta['coupon_value'] ); ?></p>
    	<p><?php printf( esc_html__( 'Expiry date: %s', 'flexible-coupons' ), date_i18n( wc_date_format(), $meta['coupon_expiry'] ) ); ?></p>
    <?php endif; ?>
    
    <p><?php esc_html_e( 'Thanks for reading!', 'flexible-coupons'); ?></p>
    
    <?php do_action( 'woocommerce_email_footer' ); ?>
    Thread Starter rkrista

    (@rkrista)

    Hi,
    Thanks for your answer!
    Isn’t it possible to do that using CSS?

    Thread Starter rkrista

    (@rkrista)

    Could you give me an update, please? Is it worth waiting for a solution? I need to publish my website.

    Thread Starter rkrista

    (@rkrista)

    Hi Tomasz,
    Thanks for your answer!

    Could you create a test order with the coupon in the second language and send the URL?

    Could you precise please, Tomasz? I’m not sure what URL you need.

    I haven’t used a po file, I translated directly through the Loco Translate plugin.

    The email template is quite short, I can copy it here for you:

    <?php
    /**
    * Email z kuponem
    */

    if ( ! defined( ‘ABSPATH’ ) ) exit; // Exit if accessed directly ?>

    <?php do_action( ‘woocommerce_email_header’, $email_heading, $email ); ?>

    <h1><?php printf( esc_html__( ‘Hi %s,’, ‘flexible-coupons’), $order->get_billing_first_name() . ‘ ‘ . $order->get_billing_last_name() ); ?></h1>

    <p><b><?php printf( esc_html__( ‘In response to an order %s placed %s, we are sending you a coupon for shopping in our shop.’, ‘flexible-coupons’), $order_number, $date_order ) ; ?></b></p>

    <p>“><?php esc_html_e( ‘Download PDF with the coupon ?’, ‘flexible-coupons’); ?></p>

    <?php if ( isset( $meta[‘coupon_code’] ) ): ?>
    <p><?php printf( esc_html__( ‘Coupon code: %s’, ‘flexible-coupons’ ), $meta[‘coupon_code’] ); ?></p>
    <p><?php printf( esc_html__( ‘Coupon value: %s’, ‘flexible-coupons’ ), $meta[‘coupon_value’] ); ?></p>
    <p><?php printf( esc_html__( ‘Expiry date: %s’, ‘flexible-coupons’ ), date_i18n( wc_date_format(), $meta[‘coupon_expiry’] ) ); ?></p>
    <?php endif; ?>

    <p><?php esc_html_e( ‘Thanks for reading!’, ‘flexible-coupons’); ?></p>

    <?php do_action( ‘woocommerce_email_footer’ ); ?>

    Thread Starter rkrista

    (@rkrista)

    Hi,
    Thanks for your answer!

    I understand now the currency issue, that’s fine then.

    It’s only the translation problem that needs to be solved. I haven’t published the coupon as a product yet, so I can’t send you the url.
    Coupons ordered through the English version of my website work fine, but translated ones don’t. The translated email is sent out and the file can be downloaded, but can’t be opened. Would it help if I forwarded you the emails? Could you give me an email address?

    Thank you!

    Thread Starter rkrista

    (@rkrista)

    Two other issues occured:
    – I translated the notification email (the one which is sent to the client) with Loco Translate and it works well. However, the download link in the email doesn’t work. I translated it properly though. I only can view and download the coupons from the WP dashboard.
    – I have coupon values in two different currencies set up. It works perfectly until the payment is done, the chosen values in the chosen currency appear at checkout. However, the coupon value will correspond to the currency that the client used for payment, not the one that had been chosen. The result is that the value that appears on the coupon is not a nice round value, but something like 34,24 EUR.
    Do you have a solution for these issues?

    Thread Starter rkrista

    (@rkrista)

    Any news?

    Thread Starter rkrista

    (@rkrista)

    Hi, I saw that you updated the plugin, but it didn’t solve my problems above. Is it supposed to solve them, or will there be another update for that?

    Thread Starter rkrista

    (@rkrista)

    Hi Herman,
    OK, I’ll check it out.
    Thank you for your answer! ??
    Kindly,
    Krista

    Thread Starter rkrista

    (@rkrista)

    Hi again,
    I have another problem, too, still with images. I’ve got galleries on my website. When I want to modify an image and upload it again (say modify the contrast level and re-upload the photo), the changes are not taken into consideration. Even though I always delete the picture that I don’t need anymore before uploading the new one, it’s still the old one that appears in the gallery. Refreshing the page between steps doesn’t help. Do you have a solution for that?
    Thanks!

    Thread Starter rkrista

    (@rkrista)

    Hi Herman,
    I don’t have many products uploaded yet, so it’s not a problem to change the pictures.
    The problem auto-solved for some products. The strange thing is that some other products behave strangely. When I set a photo as product image, it’s blurry, but when I upload the exact same picture with the exact same resolution again and set it as a product image, it’s perfect. Do you have an idea why it does that?
    Thanks! ??

    Thread Starter rkrista

    (@rkrista)

    Hi, I’m sorry, your previous answer escaped my attention. That’s perfect, thanks for your help!

Viewing 15 replies - 31 through 45 (of 69 total)