Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Author « Topic »  

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 10/16/2020 :  13:28:25  
Hello
In admin when I select categories, the category name has a number in brackets on the right side. What does the number indicate, please?

Also on the enlarged product details page above the image I see

Grey Jersey (Back to product)
Prev 2 of 3 Next
How could I get a space between
Grey Jersey (Back to product)
>>
Prev 2 of 3 Next
>>
Image

Many thanks
John

1818charlie
ECT Moderator

United Kingdom
1180 Posts

Posted - 10/16/2020 :  14:20:51  
Hi John

The number in brackets () is referring to the category ID which is useful when manually setting up links on the website.
eg: https://mywebsite.com/categories.php?cat=5

Steve
Egerton Village, Bolton, UK

Edited by - 1818charlie on 10/16/2020 14:23:44

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 10/17/2020 :  01:12:26  
Hi Steve,

That's a very useful piece of information.

Many thanks

John

dbdave
ECT Moderator

USA
10276 Posts

Posted - 10/17/2020 :  07:22:58  
If you bulk upload products to your admin, you might want those category numbers there too.

Thanks,
David

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 10/17/2020 :  11:00:14  
Hello,
I created a page designers.php and placed this code there

<p>Content </p>
<p><a href="categories.php?cat=18">Designers</a></p>

Marc Cain is listed as

Category Path Category Name Products
Designers Marc Cain(18) 3

When I run the page in Chrome and click on Designers
I receive the message
"This category is not currently available".

I cannot see where the use of cat comes from.
In the database the number 18 is listed in sectionID.
Thanks for any help.
John

dbdave
ECT Moderator

USA
10276 Posts

Posted - 10/17/2020 :  13:03:05  
Hi, it may be that your designers category is a category where products are assigned, versus a category where sub categories are placed. It's one or the other.
If the category (18) contains products, then it's a products page, and not a categories page you want.
Link to it like this - products.php?cat=18 and not categories.php?cat=18

David

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 10/17/2020 :  15:00:45  
Hello David,
That solved the the problem.

I am still puzzled where the word "cat" comes from?

Thank you

John

dbdave
ECT Moderator

USA
10276 Posts

Posted - 10/17/2020 :  19:59:53  
"cat" is part of the querystring ( https://en.wikipedia.org/wiki/Query_string ).
The cart software knows to respond to the "cat" there and out put the right information from the database based on what "cat" is requested, in this case, number 18.
It's all part of how a dynamic website works.

Thanks,
David

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 10/18/2020 :  02:20:08  
Hello David
Thanks for taking the trouble to enlighten me on the query string cat.
I think I read on page
https://en.wikipedia.org/wiki/Query_string that this query string is a program built within the ect software.
Is that about correct?

Thanks for your help.
Regards
John


dbdave
ECT Moderator

USA
10276 Posts

Posted - 10/18/2020 :  10:18:35  
Hi John, query strings are not really a "program" they are just part of all dynamic (database driven) websites.
For example, looking at the URL of this thread - https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=113255 you can see the query string is TOPIC_ID=113255.
Anything after the (?) questionmark is the query string.

Thanks,
David
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000