Displaying category description.

  • Posts: 93
  • Thank you received: 3
11 years 8 months ago #137183

Hi,
Another few questions I'm afraid as I cant seem to figure these out. The site we are converting from is this
www.applestopears.com/index.php?orderby=...&keyword1=&keyword2=
and this
www.applestopears.com/index.php?option=c...icle&id=28&Itemid=18

I need to get it to look like this again so my questions are:
1. how can I display a top level category description without showing any products that are in sub categories
2. how can I control the colors of backgrounds on items at category level as you can see if you are in gift tins its pink but in gardening its green.

thanks

Tony

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 8 months ago #137201

Hi,

The given url returns a 403 error.

1. You can create a menu which will list the categories, don't assign an associated module to it and only the categories will be displayed.
2. You will probably have to edit a view like "category / listing_img_title" and add if/else condition to add a css class depending on the category name.

hikashop.com/support/153.html

Please Log in or Create an account to join the conversation.

  • Posts: 93
  • Thank you received: 3
11 years 8 months ago #137203

Hi,
ok I think you have lost me here, current website I am working on is demo.battleva.co.uk/apples. The menu products (categories) does not have an associated module but displays all the sub categories and all the products. What do I need to change so that it does not show products that are not directly in that category (which is 0) and stop it showing links to the sub categories.

On the color change options, the link sems to say that you can target module numbers with css. But how do you get a category to have a different module number?

Thanks

Tony

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 8 months ago #137316

Hi,

You seem to have solved your problem regarding the products displayed.

For the color, thanks to give us a screenshot of what you really want, that will help us to understand.
If it's for the categories displayed by the products menu, you will have to do some custom code because the categories are in the same module.

Please Log in or Create an account to join the conversation.

  • Posts: 93
  • Thank you received: 3
11 years 8 months ago #137320

Hi,
unforynately I haven't fixed it,
if you click on products in the top menu then gifts in a tin, you get the description but still get products listed, also need a description on the top level, and don't understand why the description does not show if you click gifts in a tin at the side.

On the colors, I have no problem changing code if I know where and how. to see what I need goto www.applestopears.com/
then under products goto gifts in an tin - new (pink layout) then gardening-new (green layout).
While I am changing this code let me know how to get the joomla user group in your programs as I will also need to hide price and add to cart from anyone who is not in group author.

thanks

tony

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #137332

Hi,
1. Can you show me through some screenshots how did you configured your content menu which have the ID number 206 through "Hikashop->Display->Content menus" ?
2.

While I am changing this code let me know how to get the joomla user group in your programs as I will also need to hide price and add to cart from anyone who is not in group author.

The solution will probably be to use Access levels through the "Access level" tab of your product page, so you'll be able to restrict the access to your products.
Note that ACL are available through the business version of Hikashop.

Last edit: 11 years 8 months ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

  • Posts: 93
  • Thank you received: 3
11 years 8 months ago #137343

Hi,
screenshots as requested.

Also did you get an answer on colors and im not sure the acl will do whats needed as I haven't seen any documentation. Its very simple cataloque mode without prices for normal users, and full shop for those in author group, Its not by product but the entire shop.


Tony

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #137383

1. Regarding Access levels, you'll find more options through "Hikashop->System->Configuration->Access level".
2. For your product listing, the solution can be to :
a. Unset the associated module of your category listing and delete it, so that you won't have any product displayed through your category listing
b. change your product categories so that you won't have any product displayed where you don't wand to through your category listing

Please Log in or Create an account to join the conversation.

  • Posts: 93
  • Thank you received: 3
11 years 8 months ago #137388

Hi,
I have had a look at acl and its not really whats needed, I think the solution is to check in the view the users group and not disply price and cart.

I still need an answer (and example!) on the color issue you were looking at

thanks

tony

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #137542

Hi,

1. Ok, but note that by setting an acl to the price of your product, customers which don't have access to your product price will see your product as "free", then you'll just have to set the Display 'add to cart' button for free products option to NO through "Hikashop->System->Configuration->Main"
2. I'm having a 403 error when I try to access to your website, also can you give me screenshots of what you really want to do, so that I can understand it.

Please Log in or Create an account to join the conversation.

  • Posts: 93
  • Thank you received: 3
11 years 8 months ago #137550

Hi,
I have sorted the color option myself by checking the category id. I just need to know is the joomla groud id is available through $this in all product views

Tony

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #137581

Ok,
If you want to know you Joomla user group(s) ID(s), using some code like this will probably do the job :

$user = JFactory::getUser();
var_dump($user->groups);

Please Log in or Create an account to join the conversation.

Time to create page: 0.077 seconds
Powered by Kunena Forum