Skip to content

Commit

Permalink
awesto#861 Fixed bug with missing phonenumber option in link plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
execut committed Jun 30, 2021
1 parent 13d9a77 commit d33d649
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions shop/cascade/plugin_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,8 @@ class CatalogLinkForm(LinkForm):
Note: In this form class the field ``product`` is missing. It is added later, when the shop's
Product knows about its materialized model.
"""
LINK_TYPE_CHOICES = [
('cmspage', _("CMS Page")),
LINK_TYPE_CHOICES = LinkForm.LINK_TYPE_CHOICES + [
('product', _("Product")),
('download', _("Download File")),
('exturl', _("External URL")),
('email', _("Mail To")),
]

product = ProductSelectField(
Expand Down

0 comments on commit d33d649

Please sign in to comment.