Close

Profile: Boyko

Avatar

User posts

9 years ago

nopadmin wrote:
Hi Guys

I implemented the ajax filters in the shopall theme to a client site and the filters appear as you would expect on the category pages.  However when selecting a filter the page displays an error that says 'The Page Failed To Load' and does not filter.   The site is pretty heavily customized on some of the product controllers and such.  How can I debug and fix what is going on with the Ajax filters?   Any suggestions?

Thanks for your help

Shawn


Hi Shawn,

Basically this means that there is some error on the server. 
You should check the System -> Log in the administration to see what the exact error is.

[email protected] wrote:
Hi There,

I am sorry, when I test using the browser in the server it was ok.. then I test again using my laptop browser, the problem happened.. it seems like a loading or timing issue with the country and state/province box, and somethings the check out page stuck at loading icon..

I wonder this got to go with the HTTPS multi store setup..


I have 3 site setup with HTTPS multi store.

https://www.handbagwatch.com.my/a-lange-s%C3%B6hne
https://www.handbagwatch.com/a-lange-s%C3%B6hne
https://www.luxurylowprice.com/a-lange-s%C3%B6hne

please order some items and check out, you will see that the country and state box is not loaded with values, and occasionally, the checkout page will hang at loading..

But when I test in server using browser, the country and state box able to load, it is very strange, is there got to do with https or load timeout issue ?

Please help..

Thanks  !


Hi,

Since you submitted a ticket about the same issue (please don't duplicate  forum posts and tickets) I just want to update it here so that anyone reading this should know the progress of this. Your last update said that everything is working fine now so I can assume it has been some caching issue in the browser.
Please give us update if you have any more information.

9 years ago

gavinramm wrote:
Testing done.
NEW NopCommerce 3.5 Instance (downloaded today)
NEW Urban Theme for 3.5 (Downloaded today)

Setup new shop and enabled SevenSpike Core , Urban theme and AjaxCart.

Test 1 : Default theme
Add Product to cart fine using normal cart.

Test 2 : Default theme + Ajax Cart Enabled.
Product added via the ajax cart popup.

Test 3 : Urban theme + Ajax Cart Enabled
Product added via DEFAULT POPUP, ajax cart popup not used and the error is generated in the log.


Hi gavinramm,

We will check this on our end. Did you install the Urban theme AFTER the Ajax Cart plugin?
I am asking as it seems like a setting issue. Anyway we will test and let you know if the problem is in the files in the package or it is something else.

kev83 wrote:
Oh, and about the error. It is a strange thing isn't it? I'm trying to build against the 3.5.2 nuget assemblies, but that should be the same thing right?

I can reference pretty much anything in the 7Spikes assembly, ecxept for all things mvc related (i.e. Controllers and the like). Maybe it has something to do with the obfuscation that is applied to the assembly?


Hi kev83,

I doubt the obfuscation changes the referenced assemblies in the obfuscated .dll.
Please note that your issue is with the build and not during runtime so you don't need to modify the Web.config with any binding redirects (they would work only during runtime).
You should be fine using an ActionFilter so you won't need to do this anyway :)

9 years ago

gavinramm wrote:
I hadn't made any changes, To be sure I disabled/uninstalled the plugin. Removed the older version and re-uploaded the original. Still getting the same error.


Hi gavinramm,

So this plugin has never worked for you before or it just happened recently?
Anyway please submit a ticket providing a link to your store and maybe FTP access so that we can investigate what might be wrong with this view on your store.

9 years ago

ehubcap wrote:
Hi Support, I have my static content served from Azureedge endpoints, staging site is running fine however when I try to upload images it didn't execute as expected
So far I tried to upload:
 A PDF log image out PDF  setting => not working
 A company logo from Traction Theme setting => not working
 A product image for a new created product => not working
My whole site is running on https protocol https://staging.ehubcap.net/
Can I get help figuring out what the issue is?
Thank you
ehubcap



Hi ehubcap,

I just checked your website and it looks like you have an image for the Logo.
Did you manage to resolve this issue or you have made some workaround?
If you have solved this please share what the problem was in case other users have the same problem with Azure.

Thanks!

kev83 wrote:
We created a custom CatalogController which returns a specific custom model. This works fine, until we try to use Nop Ajax Filters, because an incorrect model is returned by getFilteredProducts. 

Any thoughts on how I can solve this, or work around it? Or is what I am trying to do totally illegal?


Hi kev83,

What you are trying to do doesn't seem right to me.
All you need to do is to hook after the GetFilteredProducts method is called and add something to the model, right?
In that case you just need to use an ActionFilter that will modify the model after the action GetFilteredProducts is executed.
Please note that there are templates in the Ajax Filters plugin that expect exactly the same model that the GetFilteredProducts action returns. You can refer to this article about the templates used by the Ajax Filters.

I hope this helps!

p.s: About the error you get: It is strange as the Ajax Filters are built with all the .dlls available in the official version of nopCommerce 3.7.

9 years ago

gavinramm wrote:
Getting the following error on the backend, the ajax cart isn't working at all.

/nopajaxcart/getajaxcartbuttonsajax


Short message:  Unexpected "if" keyword after "@" character. Once inside code, you do not need to prefix constructs like "if" with "@".
The details for the log entry.Full message:  System.Web.HttpParseException (0x80004005):


Hi gavinramm,

By looking at the error it looks like the Razor view for the Ajax Cart buttons can't be parsed.
The only reason this could happen is if you have modified the AddProductToCartAjaxButton.cshtml file and now it can't be compiled. Please revert any changes you have made to this file and you will no longer have these errors.

Damir wrote:
Hello,

Nothing yet I suppose?


Hi Damir,

As Milen said we were about to release this functionality on our website last week.
But we had to postpone it a little bit to make some changes/improvements before announcing it.
This is one of the most requested features from our customers so I can assure you that we are working on it and will let you know as soon as we launch it. 

9 years ago

markus507 wrote:
Hello,
how can I remove the "/ per unit" string in the Ajax Cart? Thank you Markus


Hi Markus,

In this file:
Plugins\SevenSpikes.Nop.Plugins.AjaxCart\Views\NopAjaxCartShoppingCart\ProductAddedToCartPopupDialog.cshtml

Find this code and delete it:

@T("SevenSpikes.NopAjaxCart.PerUnit")


Hope this helps!