Skip to content

Commit d33d649

Browse files
committed
awesto#861 Fixed bug with missing phonenumber option in link plugin
1 parent 13d9a77 commit d33d649

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

shop/cascade/plugin_base.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,8 @@ class CatalogLinkForm(LinkForm):
4545
Note: In this form class the field ``product`` is missing. It is added later, when the shop's
4646
Product knows about its materialized model.
4747
"""
48-
LINK_TYPE_CHOICES = [
49-
('cmspage', _("CMS Page")),
48+
LINK_TYPE_CHOICES = LinkForm.LINK_TYPE_CHOICES + [
5049
('product', _("Product")),
51-
('download', _("Download File")),
52-
('exturl', _("External URL")),
53-
('email', _("Mail To")),
5450
]
5551

5652
product = ProductSelectField(

0 commit comments

Comments
 (0)