1. Refactoring form objects and database objects to use inheritance and abstract base class for consistency and reduced redundancy.\n2. Contact us page button links updated to resolve error of missing link causing page refresh instead of expected functionality.
This commit is contained in:
@@ -153,7 +153,7 @@ class Stripe_Product(db.Model):
|
||||
delivery_options: {self.delivery_options}
|
||||
'''
|
||||
|
||||
def add_discount(self, discount):
|
||||
def add_product_price_discount(self, discount):
|
||||
_m = 'Category.add_product'
|
||||
av.val_instance(discount, 'discount', _m, Discount)
|
||||
# self.product_index.append(len(self.products))
|
||||
|
||||
Reference in New Issue
Block a user