GithubHelp home page GithubHelp logo

darshanmodi1427 / darsh_callforprice Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 4.0 69 KB

Magento 2 call for Price functionality

License: GNU General Public License v3.0

PHP 44.87% HTML 54.22% CSS 0.91%
magento2-callforprice callforprice-free magento2-free-modules magento2-custom-module call-for-price call-for-price-extension

darsh_callforprice's People

Contributors

darshanmodi1427 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

darsh_callforprice's Issues

Form is repeating two times

Dear Darsh , thank you for your great plugin . But now we are facing an issue . We are not able to submit call for price button for some product . After we filling the name , email etc and click the submit button then nothing is happen for some products . But for some other products it is working . We check the configuration of two products but it's are same . So we check the page source and found that

is coming two times in effected products . Please check

Admin Config (Email Templates) - Ignored

It seems that the module has been hard-coded to use the provided templates and not the area setup in the admin configuration:

  • ->setTemplateIdentifier() in Controller/Adminhtml/Callforprice/Save.php and Controller/Form/Submit.php

It seems it should rather be setup like section 5 of this link https://webkul.com/blog/magento-2-send-transactional-email-programmatically-in-your-custom-module/

const XML_PATH_EMAIL_TEMPLATE_FIELD  = 'section/group/your_email_template_field_id';
    /* Here section and group refer to name of section and group where you create this field in configuration*/
 
$this->getTemplateId(self::XML_PATH_EMAIL_TEMPLATE_FIELD);

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.