I would like to be able to add link to any category or subcategory at any level that, when selected, open a specific store . Any help/guide is welcome.
As far as the set sub-/domain is in the uri, appropriate store will be shown automatically.
In fact when user type in the browser the urlQuote
, the store is opened. But what about if I have more that one store? Currently user need to know the url of each store and type it in the browser, which seems tedious.
If for each single store is possible to add dropdown menu with link to store1, store2, and so on, it would be interesting.
Use of existing feature to make multiple level dropdown menu and make a little change to add link to store url would be interesting. If not possible or is complex, other possible way may be add new template that allow edit dropdown menu and place it in specific section of the store front end.
What do you think?
I added in field for shoppingmalls the data: 1; 2 for store1 and store2. This way I have available link to store2 from store1 but when I am in store2 I see link to store2 and not to store1 as needed.
If I add 1; 2; with semicolor also at end I get error:Quote
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 8
customers_id = '1'
AND store_id IN (1,2,)
hhg_db.query( SELECT products_id, products_quantity FROM ms_customers_basket WHERE customers_id = '1' A...) % line 601, file: class.shopping_cart.php
shopping_cart.count_contents(1) % line 29, file: shopping_cart.php
include(/home/veiga/public_html/site_mercuni/store_files/1/themes/hhg_ms_r2/source/boxes/shopping_cart.php) % line 85, file: boxes.php
require_once(/home/veiga/public_html/site_mercuni/store_files/1/themes/hhg_ms_r2/source/boxes.php) % line 20, file: bootstrap.php
require_once(/home/veiga/public_html/site_mercuni/core/bootstrap.php) % line 9, file: index.php
==== section end ====
SCRIPT KILLED BY DEBUG!
I see that better solution for me is be able to add in top of front end a dropdown menu based on new page or template. For example if I can add a new .php page with ready made dropdown menu it would be interesting. For example if I can use something like this
, where the page dropdownmenu.php have the dropdown menu, it would be interesting. What do you think?
I wrote beware of setting a semicolon at the end, so don't set an semicolon at the end.
We use the template engine Smarty, so code and template is divided in two parts, see box example:Quote