Yes, the sentence is correct and readable.
Suggestions from comments
There are a few things we can do to improve the sentence. As @Damkerng T. commented we can clarify the number of things we are discussing and as @TRomano mentioned using the word example twice so close together could be replace to be more interesting or concise.
We first identify two anchors within a product item, for example, one anchor for the price and the other anchor for the shipping information.
Suppose we want to create a pattern for the region of each product. We first identify two anchors within a product item such as the price or the shipping details.
Your sentences prompt some questions:
- What is the context of this? Sounds like web design using a GUI tool.
- In that case, is pattern the correct word? Maybe template would be more correct?
- Must I select exactly two anchors?
- Shipping information? Maybe more specific when I think of shipping information I think of address or carrier when I think a product description would care more about item dimensions and weight.
If this is a description of making a [pattern/template depending on domain specific terms] then I would suggest some changes. If two is not an important number we could change to "common elements" to take emphasis off the number. Is it a product item or product region or something else? Maybe we should choose a word that is more general like product description since we are talking about the properties of a product.
Suppose we want to create a template for product descriptions. First we must identify common elements we would like in all product descriptions such as the price or shipping weight.