X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   General questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=66)
-   -   Show Online Product Count (https://forum.x-cart.com/showthread.php?t=77280)

Blainevk 07-19-2020 10:18 AM

Re: Show Online Product Count
 
Hi Steve,

I hate to keep annoying you but this isn't making any sense.

With Webmaster Kit Activated, I open the Storefront within the same tab as Admin, the only "Gear" I see is on the Admin Page (system tools), and when I click in it, I don't see "Template Editor" when I look at the Storefront I DON'T see a "Gear" but all along the bottom of the page I see: Template Editor, along with Layout Editor, Labels Editor, Description Editor, and Custom CSS... But the odd thing is THIS IS ALWAYS SHOWING at the bottom of the page WITH or WITHOUT Webmaster Kit Activated... and the sad thing is, what I'm trying to find the code for is on one of the ADMIN pages.

Thoughts, Ideas?
Blaine.

cflsystems 07-19-2020 03:24 PM

Re: Show Online Product Count
 
The Webmaster Kit module works only in admin area. For the storefront you don't need it.
This was changed long time ago - at some point with XC 5.3.x. Before that the module was called Webmaster Mode and was needed for both admin and storefront. Now you don't need anything extra for the storefront as it is built-in. For admin you need the Websmaster Kit module.

Keep in mind what's built-in for storefront and the Webmaster Kit module are not the same. And they don't work in the same way.

So if you want to see and edit templates, language variables (labels), and whatever else is showing there for storefront you don't need any module. All you need to do is to login to admin and open new tab within the same browser for the storefront.

For admin you do need to use the Webmaster Kit module to find the template to edit and whatever else is showing you.

Another thing to keep in mind - making changes to templates for storefront directly with the template editor will save these using the Theme Tweaker module (so you need this module present and active) and you can continue editing these from admin (modified templates page) but I am not sure if the same is true for editing templates for admin.


In other words before there was only one unified module/way of doing all this. Now you have 2 separate ones based on the area you are modifying and with 5.4.x you actually have 3rd area which is absolutely uneditable - the service area. So it gets messy ...


All times are GMT -8. The time now is 06:00 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.