Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 03-13-2009 10:52:59

sushisushi
Member
From: barnsley, UK
Registered: 06-26-2008
Posts: 88
Website

The Quantity box on my catagory page needs to go

I am testing this on one page

http://www.sushisushi.co.uk/store/gbu0- … rinks.html

I can only get the add to cart button to work if I have the quanty box on there with a defaul value of at least one. I can get rid of it but when you add to cart it just takes you to the cart page without adding any items.

The quantity box is messing my layouts up. It has to go!


Buy sushi making ingredients, sushi party kits and Japanese food at wwwsushisushi.co.uk

Offline

 

#2 03-13-2009 11:01:18

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: The Quantity box on my catagory page needs to go

The quantity field in built in (in your case) GBU_Prod/GBU_Prod.php in function prodshowopt and/or prodshowoptlite, you would have to mod these functions.

John

Offline

 

#3 03-14-2009 13:00:49

sushisushi
Member
From: barnsley, UK
Registered: 06-26-2008
Posts: 88
Website

Re: The Quantity box on my catagory page needs to go

thanks for that, where would I find these?


Buy sushi making ingredients, sushi party kits and Japanese food at wwwsushisushi.co.uk

Offline

 

#4 03-14-2009 13:18:23

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: The Quantity box on my catagory page needs to go

The methods are in the file John pointed you to.  It's not something you can get to through the admin interface and given that it's a core file make sure you have a backup before you start making any changes.

Offline

 

#5 03-16-2009 08:29:18

sushisushi
Member
From: barnsley, UK
Registered: 06-26-2008
Posts: 88
Website

Re: The Quantity box on my catagory page needs to go

How come this is such a big thing to change? I think this should be a feature to update for the newer version as it's integral in the layout of both categories and products


Buy sushi making ingredients, sushi party kits and Japanese food at wwwsushisushi.co.uk

Offline

 

#6 03-16-2009 12:54:52

sushisushi
Member
From: barnsley, UK
Registered: 06-26-2008
Posts: 88
Website

Re: The Quantity box on my catagory page needs to go

I found the file and had a go at modding it but saw no results

I want the category layout for the products on this page:

http://www.sushisushi.co.uk/store/gbu0- … s+and.html

to have the quantity box next to the price without the following text "Enter the appropriate quantity for this item below." This is unnecessary and makes the product too tall.
It's not that I don't want quantities it's just that I don't think they need to be such a big thing on the category page.


Buy sushi making ingredients, sushi party kits and Japanese food at wwwsushisushi.co.uk

Offline

 

#7 03-16-2009 12:58:57

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: The Quantity box on my catagory page needs to go

That text may be found in the id gbu0.prodaddtocart.quantity in the khxc_formfields table.  You should be able to modify it using raw DB admin.

Offline

 

#8 03-16-2009 13:02:30

sushisushi
Member
From: barnsley, UK
Registered: 06-26-2008
Posts: 88
Website

Re: The Quantity box on my catagory page needs to go

will that make it align to the right of my product price though?

Thanks for the quick answer dave


Buy sushi making ingredients, sushi party kits and Japanese food at wwwsushisushi.co.uk

Offline

 

#9 03-16-2009 13:09:07

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: The Quantity box on my catagory page needs to go

sushisushi wrote:

will that make it align to the right of my product price though?

Wouldn't be a trivial task to do that.  The quantity area is in a completely different table cell than the price.

Offline

 

#10 03-16-2009 13:12:45

sushisushi
Member
From: barnsley, UK
Registered: 06-26-2008
Posts: 88
Website

Re: The Quantity box on my catagory page needs to go

ok, I'll try removing the text and hopefully it should look OK.

Thanks again


Buy sushi making ingredients, sushi party kits and Japanese food at wwwsushisushi.co.uk

Offline

 

#11 03-16-2009 13:28:20

sushisushi
Member
From: barnsley, UK
Registered: 06-26-2008
Posts: 88
Website

Re: The Quantity box on my catagory page needs to go

that certainly looks better,

http://www.sushisushi.co.uk/store/gbu0- … s+and.html

can we move the number field to be on the right of the text rather than below it?

cheers


Buy sushi making ingredients, sushi party kits and Japanese food at wwwsushisushi.co.uk

Offline

 

#12 03-16-2009 13:33:57

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: The Quantity box on my catagory page needs to go

Not without jumping through hoops.  There's a single include that is used for every small textbox throughout the site.  If you change it for this situation it will also change every other use of it.  If you're brave the XHTML include is "Formfield: Textbox (Small)".

Offline

 

Board footer