Category Archives: magento

Magento open source ecommerce platform

Magento 2 – AND | OR Search Operators

Seek & ye Shall Find – or not

In Magento 1 (M1), it was possible to change the search operands from with the admin UI. Within System > Configuration > Catalog > Catalog Search was a Search Type setting with the options of Like, Fulltext and Combine (Like and Fulltext). In this simple way you had control over the way the default Magento search engine worked.

Continue reading Magento 2 – AND | OR Search Operators
Magento Custom Options

Using Magento’s Custom Options

While delivering some Magento training, I was demonstrating how to create Configurable Products and one of the trainees visibly wilted at the thought of creating hundreds of child products to meet her multi-variant product catalogue. However, as she didn’t need to manage stock (as her products were unique, one-offs), I reassured her that she could use Custom Options on a simple product to represent the multi-variants.

So, let’s see how this might work in Magento.

Continue reading Using Magento’s Custom Options

Testing Paypal Pro & Magento

Within Magento CE you are able to display certain checkout functionality based on the location of the customer. For example, you’re might want to offer flat rate shipping only to customers in  your country. To do this you just select the desired country from the Ship to Specific Countries for that particular shipping method.

You can then test this by  choosing to ship to another country and making sure that the flat rate shipping option is not available in the checkout.

You are also able to do something similar with payment methods. I was recently testing that Paypal Pro was only available to customers within the EU. However, I found that Paypal was available to customers shipping anywhere in the world.

The answer was actually pretty obvious really. Paypal looks not at the chosen shipping country but rather the customer’s residential country. I’d been testing using a UK customer  and Paypal was available no matter what shipping country I selected in the checkout. Testing with a non-EU customer and I got the desired behaviour – Paypal was not available as a payment method, even if I was trying to ship to the UK.

So, the Paypal Pro payment method at least tests on the customer’s country of origin rather than destination in determining whether the payment method should be available.