GithubHelp home page GithubHelp logo

prestashopcorp / ps_emailsmanager Goto Github PK

View Code? Open in Web Editor NEW
2.0 13.0 15.0 146 KB

Install customized emails templates on your shop.

PHP 77.83% CSS 0.72% JavaScript 3.62% Smarty 17.84%
prestashop-module prestashop-1-7 hacktoberfest

ps_emailsmanager's Issues

sample template

Hi,
Is there any sample template that can be edited?
Thank you in advance

Language problem

Hi
Only the main language of the shop's email template is used and on all other languages, the classic theme's email templates are sent. What can be the reason?
Thanks.

Add the new 'modern' email templates

Is your feature request related to a problem? Please describe:

At the time the module was coded, PrestaShop included only one default email template: the 'classic' email template. Since version 1.7.6, PrestaShop offers two default email templates - the 'classic' and the 'modern' - but here the late 'modern' template is not taken into account.

Currently, when a user has a 'modern' default email theme, the module states that his/her current email theme is 'classic'.

Capture d’écran 2020-01-09 à 17 40 06

Capture d’écran 2020-01-09 à 17 39 05

Describe the solution you'd like:

Keep the two frames, the first one to import a pack of templates and the second one to preview the current template, but make the second frame recognizes whether it is 'modern' or 'classic' and offers the right screenshot.

Describe alternatives you've considered:

If impossible, at least modify the wording in the second frame to erase the mentions of 'classic' or 'modern' and states only about the fact that it is the current template - with the right thumbnail but without specifying its name.

JSON valye from the api email translation is bad written in spanish

(

'http://api.addons.prestashop.com/index.php?version=1&method=translations&type=emails&iso_lang='.$iso_lang
)

Hello, how is it going? if you go to CLICK ME there's a strange record.

ISSUE:

Search JSON record with CTRL + F: "you_can_review_your_order_and_download_your_invoice_from_the_order_history_section_of_your_customer_account_by_clicking_my_account_on_our_shop":"Usted puede revisar su pedido y descargar la factura desde <a href="{history_url}">"Historial de pedidos"</a> de su cuenta de cliente, haga clic en <a "Mi cuenta" href="{my_account_url}"></a> en nuestra tienda."

This cause that some email templates that use ${{ lang.you_can_review_your_order_and_download_your_invoice_from_the_order_history_section_of_your_customer_account_by_clicking_my_account_on_our_shop }}$ saved in $this->importsPath."EMAIL_THEME" look bad, like so:

image

Please fix it, thanks for your attention.

Regards,

Esteban Garviso

UndefinedMethodError: Attempted to call an undefined method named "jsonDecode" of class "Tools".

Hello,

I have installed this module in version 8.0.1 of Prestashop and when entering the configuration the following critical errors are detected:

  1. Uncaught Error: Call to undefined method Tools::jsonDecode(){ "exception": {} }

  2. Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\UndefinedMethodError: "Attempted to call an undefined method named "jsonDecode" of class "Tools"." at /home/clone/public_html/modules/ps_emailsmanager/ps_emailsmanager.php line 847
    {
    "exception": {}
    }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.