File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/Plugins/SmartStore.GoogleMerchantCenter/Controllers Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 77using SmartStore . Services . Configuration ;
88using SmartStore . Services . Security ;
99using SmartStore . Web . Framework . Controllers ;
10+ using SmartStore . Web . Framework . Plugins ;
1011using Telerik . Web . Mvc ;
1112
1213namespace SmartStore . GoogleMerchantCenter . Controllers
@@ -66,12 +67,12 @@ public ActionResult ProductEditTab(int productId)
6667
6768 var ci = CultureInfo . InvariantCulture ;
6869
69- if ( _settings . Gender . HasValue ( ) )
70+ if ( _settings . Gender . HasValue ( ) && _settings . Gender != PluginHelper . NotSpecified )
7071 {
7172 ViewBag . DefaultGender = T ( "Plugins.Feed.Froogle.Gender" + ci . TextInfo . ToTitleCase ( _settings . Gender ) ) ;
7273 }
7374
74- if ( _settings . AgeGroup . HasValue ( ) )
75+ if ( _settings . AgeGroup . HasValue ( ) && _settings . AgeGroup != PluginHelper . NotSpecified )
7576 {
7677 ViewBag . DefaultAgeGroup = T ( "Plugins.Feed.Froogle.AgeGroup" + ci . TextInfo . ToTitleCase ( _settings . AgeGroup ) ) ;
7778 }
You can’t perform that action at this time.
0 commit comments