Jump to content



Member Since 11 Jan 2013
Offline Last Active Jan 23 2020 10:20 PM

Topics I've Started

Shipping Rates Intermittently Missing From Order

20 January 2020 - 10:01 PM



This is more of a "Have you experienced this so that I know I am not going mad" type question, rather than anything I expect to find an answer to. 


We are intermittently finding orders that are missing a shipping postcode, even though the user has enter a valid postcode and matches a shipping location with rates in our backend. 


I have even watched replays of their checkout process on fullstory.com and noticed that they are being displayed a shipping rate on the checkout, which means that the backend has stored their postcode in the user_data session variable.


But for some reason when they get to the checkout page, the shipping rate is no longer applied. 


I can't determine any particular pattern as to why this is happening, it doesn't appear to be linked to any particular payment method or any particular postcode or browser version. 


Anyone else experienced this?!



Storing File In Cscart Cache

09 December 2019 - 02:14 AM



I am developing an addon that generates product brochure PDF files for customers. 


Currently I am rolled my own solution when it comes to caching generated files, but I wonder if I have overlooked CS-CART's caching abilities.  Is there a standard set of function calls to store files within the CS-CART directory structure?



Resellers And Multivendor

19 November 2019 - 08:45 PM



I am curious if I should be looking at multivendor for our website.   We have a number of resellers who sell our products across the country and I would like to allow them access to our backend to download pricelists and other reseller branded material. 


Part of me thinks that I should be looking at multivendor, but I also think this could be overkill as I don't want the resellers to run their own website, just to be able to access a subset of the backend data and be able to use a quote addon that I have already written, so that they can generate reseller branded quotes in our backend that only they can see.  


I think I can achieve all of this through cscart usergroups... but I haven't played with this side of things with CS-CART before, so I am a little unsure. 


My current thoughts are to develop an addon for this rather than doing a conversion to multivendor - I don't even know if multivendor allows for the things I have described above. 


Without me spending hours trialling multivendor, does anyone have any recommendations on how to tackle this? 



Addon Development Without Uninstalling

19 November 2019 - 12:31 AM



Can anyone enlighten me on their addon development workflow.  


Anytime I add a new language variable to my PO file or update the addon.xml file with new database queries etc, I have to uninstall and reinstall.  Is there any shortcut to trigger this that anyone knows of so that I don't have to uninstall, and reinstall?



Opposite Of Registercache

17 September 2019 - 07:39 AM



As part of my addon, I am using the Registry::registerCache() call to create a dedicated area in session storage to keep my theme related data.

Registry::registerCache('bfa_theme', []);

I then make calls which set subkeys on this key, e.g... 

Registry::set('bfa_theme.support_links', [data => 'some data']);

My theme is heavily dependent on nginx proxy cache, so I have written some functions to manage the nginx cache via UI in the backend, one of which will fully purge 'bfa_theme' from the session storage. 


But I am unsure how to do this..  The following has no effect:


Thanks in advance..