Magento checkout cart success page on customer suggestion form - magento

On Checkout cart success page on message after i want display
suggestion or feedback form with multiple option.
After fill information send mail.
Comment and feedback option validation without page refresh.

You need to develop your own module with ajax capabilities, sending information to the controller of your module.
The module should also include a block which should be added in the checkout_onepage_success layout.
More on module creation here : Magento wiki custom module with database
To create the form and have the mail notifications you can check it out at inchoo here: Custom email contact form with notification system
Good luck.

Related

How to prevent user to send multiple Checkout of the same cart in Magento 2

How can I prevent user to checkout 1 cart Session using multiple tabs or multiple browser?
By default, while the last checkout step is still loading, a user can resubmit the same cart multiple times until 1 process is completed resulting to duplicate orders.
Any thoughts on this will be appreciated.
I think the problem comes from your custom module. Maybe you didn't call an ajax attribute or the loading part. By default Magento when you click on checkout button then you can't click other buttons anymore because there will be a loading section appear on the page.
To check you can disable all payment modules and use the default Magento payment method

Translation Not Working from Magento Admin

I have a situation where in the actions I trigger from Admin website do not translate my content. I have custom modules in magento and one of them is responsible for sending out emails. The email contents are to be translate according to the locale of the store. While everything works fine when done automatically. But when I trigger this sending of emails from the admin panel the translations aren't working.
For example, my code uses the magento magic method,
__("Text to be translated")
and when the corresponding text is translated in my website. But when I trigger an action from the admin, the same content is not translated.
My translate.csv is currently located in,
app
design
frontend
MyModule
default
locale
country
translate.csv
Any help will be appreciated.

Magento Hooks - Will Magento allow me to do this?

I'm going to be starting a E-Commerce project and the client is interested in using Magento. In this project, when a customer adds something to the cart, I'll need to pull them out of the flow, where they'll proceed through a custom wizard-esque area.
They basically design a document using a drag and drop interface. After they finish, that document will be saved as a PDF, and I want them redirected to checkout
So my questions are
Does Magento have hooks available for after an item is added to the
cart ?
If I pull them away to this other section of the site (Wizard
portion), changes they make will potentially add costs to
their cart. Would I still have access to products, prices, and the
cart so that I can continue to modify their cart until they return
to checkout ?
Magento users Event-Observer pattern, where you can hook into virtually any action which is performed and execute your custom code,
Refer to below links,
http://inchoo.net/category/ecommerce/magento/events-observers/
https://gist.github.com/peterjaap/6973324
http://huztechbuzz.wordpress.com/2014/04/26/complete-list-of-all-events-in-magento/
http://www.nicksays.co.uk/magento-events-cheat-sheet-1-7/
So you have to figure out which event you can use and plugin your custom code.
As long as i remember all the cart info ( products/prices ) is stored in the $_SESSION. So you can get all the information from there you need, modify it via your so-called wizzard and udpate the session information after that!
Cheers! :)

How to Load custom page between place-order-click and thank-you-page in magento

hi,
Can any one tell me,how to load custom page between checkout onepage & Checkout success page in magento? Reply as soon as possible.
Thanx.
Krupa Parikh
It could be hard as after clicking 'place order' form is send to checkout controller and if no redirect to payment gate is required magento redirects to checkout success page. If you need some custom redirect you need to hook into controller_front_send_response_before event and change the response (but first check the action as this is general event fired by every action and every controller).

Validation not working for Joomla registration form

I have joomla site with Version 1.5.23.
I am new to joomla and php but in the existing site I am trying to add "Sign up for mailing list" functionality.
For this I have added:
<a href="index.php?option=com_user&view=register" class="jregister">
Sign up for our Mailing List</a>
in my index.php page.
Due to above code I got panel on right side of page.
On click of that link one registration form is displaying, on click of register button validations are not working.
But if I enter correct information then I get successful registration message with confirmation email.
Please suggest why validation for name, password, email are not working.
I'm sure this is a really simple error somewhere but its beyond me I'm afraid.
registration form in joomla is a joomla Component that linked to login module and login form.
you should write validation code "by yourself" for registration form in this path:
JOOMLAROOT/component/com_user/views/register/tmpl/default.php

Resources