Commits

Josh VanderLinden  committed 474ae67

Updating patch queue

  • Participants
  • Parent commits e2d5651

Comments (0)

Files changed (2)

File product_keywords

+# HG changeset patch
+# Parent a1e38bb2b5aeadbe3dba7192233f400d0a6805c8
+
+diff -r a1e38bb2b5ae satchmo/apps/product/admin.py
+--- a/satchmo/apps/product/admin.py	Tue Jul 19 04:11:22 2011 +0000
++++ b/satchmo/apps/product/admin.py	Wed Sep 21 03:09:50 2011 +0000
+@@ -224,7 +224,7 @@
+     actions = ('make_active', 'make_inactive', 'make_featured', 'make_unfeatured')
+     fieldsets = (
+     (None, {'fields': ('site', 'category', 'name', 'slug', 'sku', 'description', 'short_description', 'date_added',
+-            'active', 'featured', 'items_in_stock','total_sold','ordering', 'shipclass')}), (_('Meta Data'), {'fields': ('meta',), 'classes': ('collapse',)}),
++            'active', 'featured', 'items_in_stock','total_sold','ordering', 'shipclass')}), (_('Meta Data'), {'fields': ('meta', 'keywords'), 'classes': ('collapse',)}),
+             (_('Item Dimensions'), {'fields': (('length', 'length_units','width','width_units','height','height_units'),('weight','weight_units')), 'classes': ('collapse',)}),
+             (_('Tax'), {'fields':('taxable', 'taxClass'), 'classes': ('collapse',)}),
+             (_('Related Products'), {'fields':('related_items','also_purchased'),'classes':('collapse',)}), )
+diff -r a1e38bb2b5ae satchmo/apps/product/models.py
+--- a/satchmo/apps/product/models.py	Tue Jul 19 04:11:22 2011 +0000
++++ b/satchmo/apps/product/models.py	Wed Sep 21 03:09:50 2011 +0000
+@@ -834,6 +834,7 @@
+     category = models.ManyToManyField(Category, blank=True, verbose_name=_("Category"))
+     items_in_stock = models.DecimalField(_("Number in stock"),  max_digits=18, decimal_places=6, default='0')
+     meta = models.TextField(_("Meta Description"), max_length=200, blank=True, null=True, help_text=_("Meta description for this product"))
++    keywords = models.TextField(_("Meta Keywords"), max_length=200, blank=True, null=True, help_text=_("Meta keywords for this product"))
+     date_added = models.DateField(_("Date added"), null=True, blank=True)
+     active = models.BooleanField(_("Active"), default=True, help_text=_("This will determine whether or not this product will appear on the site"))
+     featured = models.BooleanField(_("Featured"), default=False, help_text=_("Featured items will show on the front page"))
 dv_hacks
 affiliates
 moneybookers
+product_keywords
 # Placed by Bitbucket