Shopify developer in Bristol

Shopify for businesses in Bristol, delivered remotely by one developer.

Shopify developer

My place in the WordPress community

  • I have had a wordpress.org account since 2006.
  • I contributed to WordPress core for versions 7.0 and 7.1.
  • I maintain 30 plugins on wordpress.org.
  • I organise and speak at WordCamps.
  • I have attended every WordCamp Europe from 2017 to 2026.

My WordPress.org profile

A store that sells knives or bladed tools has two moments where the law looks at age: when the order is placed and when the parcel is handed over. I am Mariusz Szatkowski, a developer based in Gdynia, and I work with UK shops entirely remotely. Whether a procedure meets a defence is for the store owner and an adviser. I build the checkout, the delivery options and the records, on your design or one I draw, so that the procedure is visible in the store.

Harbourside buildings in Bristol

Harbourside, Bristol. Author mattbuck, licence CC BY-SA 3.0, via Wikimedia Commons.

#Which laws cover online knife sales in England and Wales?

Two statutes carry the rules. Section 141A of the Criminal Justice Act 1988, in its England and Wales version, makes it an offence to sell an article to a person under 18. It applies to any knife, knife blade or razor blade, any axe, and any other article that has a blade or is sharply pointed and is made or adapted for causing injury to a person. Articles described in section 1 of the Restriction of Offensive Weapons Act 1959 are excluded. On summary conviction the text allows imprisonment for up to six months, a fine up to level 5, or both.

Sections 38 to 43 of the Offensive Weapons Act 2019 add rules for sales where the buyer and the seller are not in each other’s presence. Legislation.gov.uk records sections 38, 39, 41 and 42 as in force in England and Wales from 6 April 2022 and in Scotland from 28 June 2022. This page covers the England and Wales position, because Scotland and Northern Ireland have their own versions of some provisions.

#What does section 141B require from a remote seller?

Section 141A gives a defence for a seller who proves they took all reasonable precautions and exercised all due diligence. Section 141B limits that defence when the seller was not in the buyer’s presence at the time of the sale. The seller is not treated as having proved it unless, as a minimum, four conditions are met:

  • Condition A: the seller operated a system for checking that people buying by the same or a similar method were not under 18, and the system was likely to prevent under-18s from buying by that method
  • Condition B: the package was clearly marked when dispatched to show that it contained an article with a blade or sharp point, and that on final delivery it should only be handed to a person aged 18 or over
  • Condition C: the seller took all reasonable precautions and exercised all due diligence to ensure the package would be delivered into the hands of a person aged 18 or over
  • Condition D: the seller did not deliver the package, or arrange its delivery, to a locker

Where the item goes to a place from which the buyer collects it, section 141B(8) reads the final delivery references as the supply to the buyer from that place. These are minimum conditions. Meeting them does not decide the defence by itself.

#What does the Offensive Weapons Act add for delivery?

Section 38 applies when a seller sells a bladed product and the seller and the buyer are not in each other’s presence. The seller commits an offence by delivering the product, or arranging its delivery, to residential premises (section 38(2)) or to a locker (section 38(3)). Residential premises means premises used solely for residential purposes, and premises are not residential where a person carries on a business from them. A locker is a lockable container to which the product is delivered for collection by the buyer or someone acting for the buyer. For England and Wales, the section sets a maximum of 51 weeks, a fine or both on summary conviction.

Section 39 places a duty on the courier. Where a seller in the United Kingdom agreed with a body corporate that it would deliver bladed products, and the courier delivers one to residential premises, the courier commits an offence if it does not deliver into the hands of a person aged 18 or over.

Section 40 sets the defences. Among them, a seller charged with delivering to residential premises can show that:

  • it had procedures likely to ensure delivery into the hands of a person aged 18 or over, and took all reasonable precautions and due diligence for the product in the charge
  • for arranging delivery, the arrangement required the courier to have such procedures, and the seller took all reasonable precautions and due diligence
  • the product was designed or made to the buyer’s specification, or adapted to it to enable or ease the buyer’s use
  • it reasonably believed the buyer bought for relevant sporting purposes or historical re-enactment

A seller charged over a locker has the due diligence defence only (section 40(1)). Section 41 defines a bladed product as an article that is or has a blade and can cause a serious injury involving cutting the skin, excluding articles covered by the 1959 Act and by orders made under section 141A(3)(c) of the 1988 Act. Section 42 covers sellers outside the United Kingdom who use a body corporate courier, and section 43 amends the flick knife definition.

#Are these rules about to change?

Yes, in the legislation as enacted. Sections 32 and 35 of the Crime and Policing Act 2026 are on legislation.gov.uk as prospective, and the text of sections 38 to 40 and 141B still reads as described above at the date of this check. Section 32 would change condition A of section 141B so that the seller obtains a copy of a physical identity document and a photograph of the buyer, or takes steps prescribed by regulations. Section 35 would change the Offensive Weapons Act so that the delivery defences depend on the courier being shown an identity document, and would add an offence for delivering to a collection point unless the package was clearly marked and precautions were taken.

Legislation.gov.uk gives these provisions as not in force at Royal Assent and shows no commencement date for them. I do not build for text that is not in force. If a commencement order appears, the checkout steps that rely on it are a separate piece of work.

#What does Shopify delivery customization do?

Shopify’s Delivery Customization Function API lets a function rename, sort and hide the delivery options that customers see at checkout. Documented use cases include hiding delivery options for certain products or customers, reordering options and adding messages to option titles. The function runs on the cart.delivery-options.transform.run target. The shopify.dev reference lists checkout as supported and the cart as not supported, and states a limit of 25 active delivery customization functions per store.

For a knife store this gives a documented way to take an option away from an order that contains a bladed product, for example a locker or pickup option, while leaving it for other orders. It does not turn a legal test into code. Nothing I found on shopify.dev says a function can tell residential premises from business premises, which is the test in section 38. The reference shows that the delivery address can be read in the function input, and it warns that PO box detection works only for options from carrier services or third-party shipping apps. In Apple Pay and Google Pay, the function runs first with only the country code, province code, city and postcode before the buyer authorises payment. A rule that depends on a full address needs a plan for the empty fields.

Shopify’s own pages describe pickup points, local pickup and shipping to an address as native delivery methods, and say a checkout can contain several delivery methods at once. A store that offers collection needs to decide how section 141B(8) applies to it. That is a question for your adviser, not a toggle.

#What does checkout validation add?

The Cart and Checkout Validation Function API, run target cart.validations.generate.run, lets a function check the cart and block the order with an error message. Shopify lists verifying the age or ID of a customer among its use cases. Validation applies to cart and checkout, including express checkouts such as Shop Pay, PayPal, Google Pay and Apple Pay. Shopify documents that validation errors always block checkout, and that if the function itself fails, checkout continues without the validation by default. A setting called blockOnFailure makes checkout stop in that case, which is relevant for an age-restricted product.

Shopify documents the mechanism and not the check. The function can read the cart lines, the delivery groups and the delivery address, and it returns a message. How an age or ID is checked, where the result is stored and who reviews it is the store’s design, or the choice of an app. I did not find a Shopify page that describes a built-in age verification for knives. Whether a particular method is a system “likely to prevent” under-18 purchases within section 141B is for your adviser.

Checkout UI extensions on the information, shipping and payment steps are available only on Shopify Plus, according to Shopify’s delivery documentation, so a custom field for delivery instructions at those steps depends on the plan.

#What should the store record?

Section 141B and section 40 both turn on what the seller did and could show. The setup should keep:

  • the age-checking method and the date each version was in force
  • the validation rule, its error message and whether it blocks on failure
  • which delivery options are hidden for bladed products, and the date each rule changed
  • the packaging marking used on dispatch, with photographs of a sample parcel
  • the courier arrangement: the contract date, the instruction to deliver into the hands of a person aged 18 or over, and the carrier’s service name
  • orders that were blocked, with the reason, for as long as your adviser says to keep them

What an app or carrier can export differs, so I work from what your tools offer instead of promising one structure.

#Checklist for a Bristol Shopify store

  • Decide with your adviser which products fall under section 141A and section 41.
  • Choose and document the age-checking method for each sale route.
  • Hide locker and similar options for those products and test with a mixed cart.
  • Decide how residential and business addresses are handled and what happens when the address is incomplete.
  • Set validation to block when the function fails, if your adviser agrees.
  • Mark the package for age-restricted delivery and instruct the courier in writing.
  • Keep dated screenshots of each checkout step and each setting.
  • Recheck the legislation page for commencement of the 2026 changes.

#How does a project run?

  1. You send the store address, the product list, the carriers and any collection options, with your deadline.
  2. I write down the scope and what the Shopify documentation allows, and list the questions for your adviser.
  3. I build on a theme copy and a development store, and you test with sample orders, including mixed carts.
  4. Go-live waits for your written approval of the method and the records.

I need staff access to the store and the carrier and age-check tools. Storefront and theme work beyond this is on the Shopify developer page.

#Send me your store

If your Bristol store sells knives or bladed tools, send me the store address, the carriers and your deadline through the contact form. Which method meets the law stays with you and your adviser.

Need this service: Shopify developer in Bristol?

Describe your project by e-mail. I reply within 24 hours.

Describe your project

Latest Shopify developer articles

Nov 6, 2026

EU energy label in an online shop: UK and Ireland rules

Which products need an energy label online, what must sit next to the price, how the product information sheet and EPREL fit in, who enforces it in Ireland and the UK, and how to build it in WooCommerce and Shopify.