WordPress.org

Ready to get started?Download WordPress

Forums

WP e-Commerce Shop Styling
[resolved] All mails are now marked as sent from the shop (9 posts)

  1. Christian
    Member
    Posted 1 year ago #

    Hello,

    Great plugin that helps a lot to have a small but efficient shop.

    I notice that with this plugin activated, all mails sent from my site forms (using contact 7) are sent from the WP ecommerce sender email, not for those I defined for Contact 7.

    When I deactivate the plugin (so only wp ecommerce is activated) no more problems : the mails are sent with the right sender.

    Thanks for your help

    http://wordpress.org/extend/plugins/wp-ecommerce-shop-styling/

  2. Christian
    Member
    Posted 1 year ago #

    I checked the plugon code and I think that the problem comes from the filter you add.
    code
    add_filter( 'wp_mail_from', 'wpsc_replace_reply_address', 0 );
    add_filter( 'wp_mail_from_name', 'wpsc_replace_reply_name', 0 );
    add_filter( 'wp_mail_content_type', create_function('', 'return "text/html";'));
    code

    and you never remove them ...

    I can't check for today but I'll try tomorrow.

  3. haet
    Member
    Plugin Author

    Posted 1 year ago #

    Hello yakafaucon,
    thanks for the hint. I'll change this in the next version.
    All wpsc mails will be sent from wpsc sender and all other mails will be sent from the sender defined in wordpress settings.

  4. haet
    Member
    Plugin Author

    Posted 1 year ago #

    Hello yakafaucon,
    I just released a new version and added configurations for both email senders. One for shop emails and one for all other mails. Update to shop styling 1.3 and have a look at the settings tab "email template"

  5. Christian
    Member
    Posted 1 year ago #

    Hello

    Thanks for this upgrade but it does'nt fix all.

    I'm using 2 other plugins that are able to send mails. One is mine and send emails as webmaster. The new release fix the problem because I confured the webmaster email as sender.
    THe other plugin is contact form 7 : we have some contact forms on our site in order to send emails to our staff.
    My use case is : the site user want to contact our secretary. In the form, we ask for his email, name, adress.. and some other things. In order to avoid spams and facilitate the answer we put the user email as the sender of the email. Like this we receive an email from the user and we just have to reply to him other email. With your plugin activated, these contacts emails are broken because they are all set with the wordpress email parameter and not the user email.
    So the trick is to force the sender as wpsc email sender only for wpsc emails and to keep it unchanged for others, because in this case the sender is configured by wp or other plugins.

    I've another issue, regarding PDF. I have a lot of errors when dompdf try to build the PDF. Something is misssing ? any php config ?
    I think that it will be good to have the possibility to validate or not the use of the PDF even if we bought it. Somthing like check box "send pdf as attached".

    Hope it helps

    Christian

  6. haet
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Christian,
    I'll add a checkbox to disable the mail sender for Non-WPSC mails.
    For the PDF problem there is an option to disable it at the bottom of the PDF tab. It was introduced in version 1.1.
    To check your server configuration you can upload the full dompdf package to your server and run var/setup.php in your browser. This file doesn't change anything on your system but it detects any configuration errors.
    br, Hannes

  7. Christian
    Member
    Posted 1 year ago #

    Hello

    I did not find any var directory in the dompdf directory.

    I tried to deactivate the PDF and got the same results :

    Fatal error: Uncaught exception 'DOMPDF_Exception' with message 'Unable to find a suitable font replacement for: ''signika''' in <my/path>wp-content/plugins/wp-ecommerce-shop-styling/includes/dompdf/include/style.cls.php:805 Stack trace: #0 <my/path>wp-content/plugins/wp-ecommerce-shop-styling/includes/dompdf/include/style.cls.php(718): Style->get_font_family() #1 <my/path>wp-content/plugins/wp-ecommerce-shop-styling/includes/dompdf/include/text_frame_reflower.cls.php(165): Style->__get('font_family') #2 <my/path>wp-content/plugins/wp-ecommerce-shop-styling/includes/dompdf/include/text_frame_reflower.cls.php(333): Text_Frame_Reflower->_layout_line() #3 <my/path>wp-content/plugins/wp-ecommerce-shop-styling/includes/dompdf/include/frame_decorator.cls.php(556): Text_Frame_Reflower->reflow(Object(Block_Frame_Decorator)) #4 <my/path>wp-content/plugin in <my/path>wp-content/plugins/wp-ecommerce-shop-styling/includes/dompdf/include/style.cls.php on line 805

    Need your help. .How I can use my font ???

    thanxs

  8. haet
    Member
    Plugin Author

    Posted 1 year ago #

    My mistake, the path is www/setup.php instead of var/setup.php

    To use additional fonts you should have a closer look on dompdf.

    See this link:
    http://eclecticgeek.com/dompdf/load_font.php
    or search for "dompdf custom font"

    The plugin uses dompdf 0.6 beta3

  9. Christian
    Member
    Posted 1 year ago #

    Hello,

    The las t version did the trick concerning the email. Now I can send emails with the right adress, depending on the context (wpsc or contact form).

    I'll check the dompdf install. to try to fix my issues.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.