Skip to main content

Add categories tree list to product details – Prestashop 1.7

Quick steps to add categories tree to product details

A very requested feature which is pretty hard for new prestashop users.

When viewing a product details you fiind it hard to browse other products from other categories. You need to press back button and then click again.

What you would like is to to fill the following area with Category Tree view and/or other modules:

Follow these steps:

  1. Go to backoffice panel (admin panel)
  2. Click on Design > Theme & Logo
  3. Click Choose Layouts (on your selected theme)

4. Scroll to “product”

5. Check from the dropdown: “Two Columns, small left column – Two columns with small left column”

6. Press SAVE

7. Click on Design > Positions

8. On the top right click “Transplant a Module”

9. Select from the first dropdown “Category tree links”

10. Select from the 2nd dropdown the Transplant to: “displayLeftColumnProduct (This hook displays new elements in the left-hand column of the product page)

11. Press SAVE

12. Go to Modules > Module Manager

13. Scroll to “Design & Navigation”

14. Go to “Category tree links” (if you don`t see it press see more)

15. Click configure on the right

16. Select “Home Category” and press SAVE

17. Go into the Front-Office and see the final result:

Enjoy and Good Luck!

Protect WordPress against bots

Combine reCAPTCHA with Cerber WP Plugin to successfully protect against bots

Using reCAPTCHA for WordPress login form is a bad practice and does not protect WordPress from being hacked by bots and hackers


What is reCAPTCHA, anyway?

reCAPTCHA is a human verification mechanism that created and maintained by Google as a free web service. WP Cerber supports reCAPTCHA for WooCommerce and WordPress forms as antispam feature.

Why does reCAPTCHA not protect WordPress from bots and brute-force attacks?

Because WordPress has three authorization methods that enabled by default. That means hackers have access to three entrances on any WordPress powered website. The first one is being used when you are using ordinary WordPress login form. Two other methods are invisible for you but known for hackers and specialized software that hackers use. Hackers use them to probing a website and to obtain correct user password or to get access to the WordPress Dashboard with admin privileges.

How to bypass reCAPTCHA

Is it possible that bots can solve reCAPTCHA without a human? Sounds unbelievable but they can in some way. The method is based on using voice captcha called Audio Challenge and one of those online speech recognition services like Google Speech Recognition API. A hacker takes an audio file with voice captcha generated by reCAPTCHA and then recognize it with a speech recognition service. Is not it brilliant?

How to fix? User Cerber WP Plugin – CERBER SECURITY & ANTISPAM with reCaptcha

Install the 2 plugins (via WordPress – plugins – search)

You can easily set up reCAPTCHA on a website having the WP Cerber Security plugin installed. Before you can start using reCAPTCHA on any website, you have to obtain a Site key and a Secret key on the Google website for the website.

Register your website and get both keys here: https://www.google.com/recaptcha/admin

Note: If you are going to use an invisible version, you must get and use Site key and a Secret key for the invisible version only.

  1. After keys have been created for you, go to the reCAPTCHA settings page of the WP Cerber plugin. It’s located under the Anti-spam menu.
  2. Copy keys to the appropriate fields in the reCAPTCHA settings.
  3. Check checkboxes for all forms you want to be protected with reCAPTCHA.
  4. Make sure that the reCAPTCHA widget is displayed correctly.
  5. Done!

Good luck!

Source: