RealTimeDesigner Support Network
Wiki Forums Libraries Docs Support RealTimeDesigner Home
Welcome! Log In Create A New Profile

Advanced

Ability to assign products to stores released!

Posted by Alex 
Ability to assign products to stores released!
May 21, 2012 07:32PM
Finally, it's done.
There's so much to consider, so please let me know if you will find anything wrong or anything I may have forgotten.

The new feature is in SYSTEM OPTIONS => Configure Store layouts
When a store different from "Main Store" is selected, you will see the ASSIGN PRODUCT CATEGORIES TO STORE area scrolling the page. That's simply it. Selected products will be the ones available for the selected store.

The feature will control which products will be listed when browsing Store's Catalog and the "Change Product" feature into Store's designer (the Reduced Catalog) .
Productg categories will remain unchanged: this means that only categories in which available products will be found will be listed in catalog.

Now, the best way to see if everything works as expected is simply to try.
So, enjoy, and let me know in case of any misbehavior.

Thanks!
Re: Ability to assign products to stores released!
May 22, 2012 01:46PM
In response to your question in the general forum.


When you go to the Atlanta Wide Format Catalog the info from AWRS Catalog shows in the Left Hand Column.
http://designer.realtimedesigner.com/premiergraphics/AtlantaWideFormat/catalog

I guess what I am asking is the same question I posted a while back.

Can there be catalogs that are specific to the store?
Re: Ability to assign products to stores released!
May 24, 2012 09:07AM
I see...

The problem there is you're not using RTD defaults, but you defined your own links into the RTD-Catalog setup.
Looks like I should look to add also some catalog options to be altered at store level.

Will have to play a little bit for this, I'll report here when I'll have some news.
No deadlines, but expect it to be 1 or 2 weeks.

Thanks
Re: Ability to assign products to stores released!
June 16, 2012 10:58AM
I have a news!
Instead of changing everything, I opted for a new default specialcode.
It's all in the already mentioned SYSTEM OPTIONS => Configure RTD-Catalog => MENU LINKS area.

On bottom there's the list of LINKS REFERENCE TO PRODUCT CATEGORIES VISIBLE TO USERS.
Those are the links that almost anyone used so far to fill the menulinks.
Now I changed them to have [STORE_BASEURL] specialcode instead of the url.
The effect is simple: when that code is used, the url will remain the same as of the current store. In other words, users will REMAIN into the same store.

For new users everything will be fine, as they'll see those new references already compiled with the code.
For existing ones like you, you will neew to simply edit your MENU LINKS links.
It's basically just replacing the initial
http://designer.realtimedesigner.com/youyrcompanyname
with
[STORE_BASEURL]

Example:
http://designer.realtimedesigner.com/youyrcompanyname/catalog/index.php&p=jkhsJErf8h3hjs==
to
[STORE_BASEURL]/catalog/index.php&p=jkhsJErf8h3hjs==
Re: Ability to assign products to stores released!
November 28, 2012 09:43AM
I have a question about this:

http://designer.realtimedesigner.com/youyrcompanyname
with
[STORE_BASEURL]

With:

Example:
http://designer.realtimedesigner.com/youyrcompanyname/catalog/index.php&p=jkhsJErf8h3hjs==
to
[STORE_BASEURL]/catalog/index.php&p=jkhsJErf8h3hjs==


Is the STORE_BASEURL found in the RTD Links? - would the replacement look like this?
http://designer.realtimedesigner.com/premiergraphics/AWRS/catalog /index.php&p=cGM9ODY4OSZwYzI9JnByPTQ1NjUy
Re: Ability to assign products to stores released!
November 28, 2012 01:04PM
[STORE_BASEURL] is a specialcode that will be used only and exclusevely in Catalog's menu links.

As written above, you can see them in SYSTEM OPTIONS => Configure RTD-Catalog => MENU LINKS, into the LINKS REFERENCE TO PRODUCT CATEGORIES VISIBLE TO USERS area.

You can use other links as well if you want, but remember that [STORE_BASEURL] will be parsed ONLY for MENU LINKS values, and nowhere else.
Out of this, you're right.
If your company name is premiergraphics and the store name is AWRS and users are browsing that store's catalog, [STORE_BASEURL] will be replaced with
http://designer.realtimedesigner.com/premiergraphics/AWRS

If users are browsing the main designer's catalog, then it will be replaced with
http://designer.realtimedesigner.com/premiergraphics.
Re: Ability to assign products to stores released!
November 28, 2012 03:53PM
Okay, following the logic from above message.

Why then are the items from AWRS (After Changing all the codes for the AWRS Catalog) showing up in the Benjamin Edwards Catalog.

http://designer.realtimedesigner.com/premiergraphics/BenjaminEdwardsInvestments/catalog
Re: Ability to assign products to stores released!
November 28, 2012 06:52PM
I looked into your company.
I guess your question is because you filled only certain products for the "Benjamin Edwards Investments" store, but also products unchecked at store level are visible in your menu bar.

The left menu area is controlled in SYSTEM OPTIONS => Configure RTD-Catalog => MENU LINKS.
I see you already have various entries in there, and all links are absolute (not making use of the [STORE_BASEURL] code).
In catalog, the menu on the left is normally feeded with available products. But when you add your own items, they're ALL shown. As you can see you could place any URL for menu links, not only RTD ones: for this reason, RTD cannot automatically detect if a specific menu link should be visible into a specific store or not.
The [STORE_BASEURL] code in this case is generally used to keep you in the same store's catalog, which would be impossible to do with a regular URL.
So, [STORE_BASEURL] is something that will replace your links dinamically, not something able to hide menu links entries.
Basically, if you have your own entries in Menu Links, they will all be shown.
Infact you surely noticed that, no matter which Store's catalog you're visiting, the links on the left are always the same.
Once more, this is simply because you've added your own entries, and RTD performs no checks on what you define in there.

You can verify the products are correctly assigned to the store while visiting the main section of catalog's homepage.
That's controlled in SYSTEM OPTIONS => Configure RTD-Catalog => GENERAL SETUP.
In there you have Show Product List Anyhow set to YES, which means available products only will be shown.
Infact, in your "Benjamin Edwards Investments" catalog, only "BEI Letterhead" and "BEI Population Template" are shown, as expected.

To say it simple, if your question is "there's any way to hide some specific entries of the menu links depending which store's catalog I'm visiting", the answer is no. At least, not thanks to [STORE_BASEURL].

What can be done is to use CSS to hide from a store the menu links you don't want for the store. This because, in Stores Layout, you could place a <style> entry in the HEADER CODE FOR CATALOG.
For example:
If you go in SYSTEM OPTIONS => Configure Store layouts => Benjamin Edwards Investments and you place this code in its HEADER CODE FOR CATALOG:
<style>
    #catalog_menulinks_container_top2 {display: none; }
    #catalog_menulinks_container_body2 {display: none; }
    #catalog_menulinks_container_bottom2 {display: none; }
</style>
you will see that, in Benjamin's catalog only, your "Trifold Brochures" entries will be no more visible.
What that style does is to simply hide those blocks IDs, which in your company are related to the Trifold Brochures entries.
Hiding others as well as doing the same trick for other stores shouldn't be hard to do, but only assuming you're familiar with CSS and analisys tools like Firebug (to find the other blocks IDs).
If you are, or if you have anyone that is, these info should be more than enough for you to proceed.

Otherwise, I can do it for you. But in that case, some more info will be needed by me. If you'd like to proceed that way please issue a Paid Support Request ticket from your admin panel referring to this thread.
Sorry, only registered users may post in this forum.

Click here to login