Jump to content

Edit History

toniniyo

toniniyo

  On 4/5/2022 at 2:01 PM, Baroszek said:

And what is the situation with the code? just no link there? something pops up in the console?

Expand  

The 2 store use the same module : Block Group Top

When i go to store 1, the user icon is store in cache with the code  :

<div id="leo_block_top" class="popup-over e-scale float-md-right">
    <a href="javascript:void(0)" data-toggle="dropdown" class="popup-title">
    	<i class="icon-Ico_User icons"></i>
    </a>	
  ...
</div>

After i go to store 2, the cache change and the code became:

<div id="leo_block_top" class="leo_block_top popup-over dropdown js-dropdown float-xs-left float-md-right">
    <a href="javascript:void(0)" data-toggle="dropdown" class="popup-title" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Setting','d'=>'Shop.Theme.Global'),$_smarty_tpl ) );?>
">
	    <i class="leofal leofa-grip-lines"></i>
	 </a>  
  ...
</div>

When i come back to the store 1, the cache doesn't change and the icon disappear (because it's the code of store 2)

The cache is shared between the two stores ...

toniniyo

toniniyo

  On 4/5/2022 at 2:01 PM, Baroszek said:

And what is the situation with the code? just no link there? something pops up in the console?

Expand  

The 2 store use the same module : Block Group Top

When i go to store 1, the user icon is store in cache with the code above :

<div id="leo_block_top" class="popup-over e-scale float-md-right">
    <a href="javascript:void(0)" data-toggle="dropdown" class="popup-title">
    	<i class="icon-Ico_User icons"></i>
    </a>	
  ...
</div>

After i go to store 2, the cache change and the code became:

<div id="leo_block_top" class="leo_block_top popup-over dropdown js-dropdown float-xs-left float-md-right">
    <a href="javascript:void(0)" data-toggle="dropdown" class="popup-title" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Setting','d'=>'Shop.Theme.Global'),$_smarty_tpl ) );?>
">
	    <i class="leofal leofa-grip-lines"></i>
	 </a>  
  ...
</div>

When i come back to the store 1, the cache doesn't change and the icon disappear (because it's the code of store 2)

The cache is shared between the two stores ...

×
×
  • Create New...