Jump to content

vanhims

Members
  • Posts

    5
  • Joined

  • Last visited

Contact Methods

Profile Information

  • First Name
    Wouter
  • Last Name
    Himschoot

Recent Profile Visitors

165 profile views

vanhims's Achievements

Newbie

Newbie (1/14)

  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

0

Reputation

  1. Hi, I have made a module for this. Exactly like you are looking for. What you do is this: Create a new module. See PRestashop module generator to get a ready to use module In the install() function of your <modulename>.php. Add this hook: $this->registerHook('actionValidateOrder'); Then create in the same .php file a new function called: public function hookActionValidateOrder($params){}; This hook is triggered automatically after an order is submitted. If you do this: print_r($params); inside this action hook, you get a nice array with all the available options like customer email, order data, etc. Then when this hook is triggered you can setup a mail function to send the mail in any template to any person you want.
  2. Hi, Can you share the html displayed with google developers console? You can mimize the screen like a mobil phone and then use google developers Ctrl+Shift+ I Maybe it will help a lot to show the actual html // css code. It might be there s a little bug there. Mostly you can tweak it with custom CSS.
  3. Hi, Thanks for the tips! Some of them are really really helpful ! Can you also share, how you find the explanation of all these little things like: $this->controllers = array(''); //loads the front controller These properties are not explained in any tutorial nor the code comments. It only says : Load controllers. So, I wonder : how can a novice developer get his way around the massive amounts of code? Thanks for the tip!
  4. Dear Presta developers. I have been coding for a couple of years and can make pretty much anything which comes into my mind IF I just code without standards (so from top to down, no OOP). Since I started making small Prestashop Admin Modules, I discovered the need for OOP programming. So I bought myself a book and studied the basics of OOP. However, I am struggling only with one thing : I cant create a decent custom Module Admin Controllers. For 2 weeks, I have been watching You Tube Tutorials, Books, Blogs, etc. Everyone is creating an Module Admin Page in different ways. The only thing I can do is: Create custom Multiple TAB -> link to my different controllers Made 1 working controller that can display a .tpl in views/templates/admin/ But as soon as I want to add a form or list, things get pretty terrible and doesn't work at all. My question : How can I know what methods or properties I can use in my custom controller ? Can you find out all the possibilities without consulting these many limited tutorials online? I just want to have full control, but don't know where to look for..... Thanks for sharing your experience on how to manage such big databases like Prestashop.
  5. Hi guys, I have used the default bootstrap theme for my webshop for a half year. It always gave a warning when clicking the "Read Reviews" button. This is the warning: This combination does not exist for this product. Please select another combination. Recently I purchased a new theme, hoping this would also be fixed. But nope..... I don't use product combinations, so I found out that I can go to performance > disable combinations. That didnt fix the issue. Even worse, I set the product to Virtual Product and it still gives the error mentioned above. Im really so tired of this. Can't fix it ! in desperation, I have opened a new demo place on my server and reinstalled prestashop. There it works fine when using the demo products ( dresses ). But when I import my DB, the error is back. So, I guess the issues must be in either a settings somewhere or in the products. But the issues is in all products, so I think somewhere a correct setting??? Feel free to check this temporary test server: http://customit-demo.tk/en/windows-7/11-windows-7-home-premium-8718836791055.html I really hope someone knows the answer, or can guide me. Cause im so frustrated. Spend many days trying to fix this issue. Another Hint: When clicking the "Read Reviews" button I also discovered the user is not being redirected to the reviews tab. Thanks, Wouter.
×
×
  • Create New...