Inhalte aufrufen

Inhalte von Sherif Ahmed

Es gab 9 Einträge für Sherif Ahmed (Suche beschränkt auf: 28-April 23)


Sortierkriterium:                Sortierreihenfolge:  

#277990 Removing % from product price

Geschrieben: nach Sherif Ahmed am 10 September 2019 - 22:31 in Design & Theming Smartstore

I faced the same, but when I try to override it using themes it does not work.

I copied the same view into Themes/Flex/Views/Shared/Partials/Product.List.Item.Price.cshtml

 

and did my changes but didnot work

Is this normal behavior or not?

 

Best Regards 




#277329 WebApi Facets

Geschrieben: nach Sherif Ahmed am 03 July 2019 - 11:04 in Customize & Extend Smartstore

Dears,

 

Is it supported to get the facets of the searchresult in the webapi?

If so any clue to get it would be appreciated ...

 

Thanks in advance




#277152 How to inject html in "productbox_add_info" widget zone from plugin?

Geschrieben: nach Sherif Ahmed am 27 May 2019 - 21:44 in Customize & Extend Smartstore

Looks ok to me if MapRoute is correct. Could you please try to inherit from SmartController?

 

this is the routeprovider 

 

public partial class RouteProvider : IRouteProvider
{
    public void RegisterRoutes(RouteCollection routes)
    {
         routes.MapRoute("SmartStore.MyPlugin",
               "Plugins/MyPlugin/{controller}/{action}/{id}",
               new { controller = "AnotherController", action = "Index", id = UrlParameter.Optional },
               new[] { "SmartStore.MyPlugin.Controllers" }
         )
         .DataTokens["area"] = "SmartStore.MyPlugin";
     }
 
     public int Priority { get { return 0; } }
}
 
also tried to inherit from SmartController with no luck.
 
Regards,



#277149 How to inject html in "productbox_add_info" widget zone from plugin?

Geschrieben: nach Sherif Ahmed am 26 May 2019 - 02:53 in Customize & Extend Smartstore

Hi,

I'm trying to add html to the "productbox_add_info" wiget zone from my plugin but always getting this error:

No route in the route table matches the supplied values.

 

I added it as you added the machine name in "MachineNameFilter"  as below

 

_widgetProvider.Value.RegisterAction(

"productbox_add_info",
"MyAction",
"MyController",
new { area = "SmartStore.MyPlugin" });
 
and the controller inherits from PublicControllerBase as below 
 
public class MyControllerController : PublicControllerBase
{
       public ActionResult MyAction() { return View(); }
}

 

and the view I just typed a dummy string to be notted only so no need for it 

 

and the DependencyRegistrar, RouteProvider is the same as usual (like DevTools plugin)

 

but I always get the above error, maybe I miss something

 

Thanks in advance




#277022 oData Expand Query

Geschrieben: nach Sherif Ahmed am 24 April 2019 - 05:58 in Customize & Extend Smartstore

Thank you so much




#277011 oData Expand Query

Geschrieben: nach Sherif Ahmed am 22 April 2019 - 16:45 in Customize & Extend Smartstore

Hello,

 

I'm try to expand the category in the product to get it's name like below:

 

http://demo.smartsto...gories/Category

 

but I'm getting an error says:

 

The query specified in the URI is not valid. Could not find a property named 'Category' on type 'SmartStore.Core.Domain.Catalog.ProductCategory'.

 

Is this an issue or by (your or oData) design?

 

Regards,




#276887 Circular component dependency detected

Geschrieben: nach Sherif Ahmed am 13 March 2019 - 14:30 in General Smartstore

In version 3.1.5

 

I faced this issue 

 

Circular component dependency detected: 
SmartStore.Core.Data.DbQuerySettings -> 
SmartStore.Services.Stores.StoreService -> 
SmartStore.Services.Security.AclService -> 
SmartStore.Web.Framework.WebWorkContext -> 
SmartStore.Services.Customers.CustomerService -> 
SmartStore.Web.Framework.WebStoreContext -> 
SmartStore.Services.Stores.StoreService.
 
Regards,
 



#276420 DiscountType extending?

Geschrieben: nach Sherif Ahmed am 08 December 2018 - 19:43 in Customize & Extend Smartstore

How can I introduce a new DiscountType to the enumerator?

 

Is there away to extend it so that I can choose a new DiscountType while creating discounts.

 

Thanks in advance




#276390 Add Message Template and new Model From Plugin

Geschrieben: nach Sherif Ahmed am 27 November 2018 - 09:18 in Customize & Extend Smartstore

Hi,
 
What is the proper way to add a Template Model (Plugin Entity) to the Liquid template in the preview mode (Test Mode) and in the normal one?
 
I Consumed 

MessageModelPartMappingEvent

so when I try to send the message from my logic the system can not find the new defined model so I handled it in my consumer,

but in the preview mode the event is not fired.

 

Is there any other way to handle it. and if there is any sample code for this part as a starting point ... that will be great.

 

Appreciated,

Keep up good work