Jump to content
Sign in to follow this  
Pete

Category home page?

Recommended Posts

Hi,

I'm trying cubecart for the first time, so this could have a simple answer, I hope.

I'm selling engraved signs and each sign has a few variables. These are grouped by material type initially and some fall into more than one group, therefore I have used categories for the groups.

My issue is when selecting a category I'm taken to a page (I'll call it 'category home page') with the default price on and an initial quantity of one, not much help as I may want to change size, colour etc. When I select one of the items I'm taken to the page where the sign can be customised, this page I like very much and does all I need.

With only one material type in the category the 'category home page' serves no purpose, can it be eliminated?

With more than one material type in the category the 'category home page' is required, but the cost and quantity are meaningless at this point, can they be eliminated.

Any help would be appreciated, even if it's to take a different approach. I'm using the foundation skin.

Many thanks,

Pete

Edited by Pete

Share this post


Link to post
Share on other sites

Hi,

I've stopped the price, quantity and add to cart showing on the 'category home page' , rem'd out the lines in content.category.php, appears to have done the job. Sometimes they say a little knowledge is dangerous, I certainly have a little knowledge, but then you just have to give it a go...

Share this post


Link to post
Share on other sites

I'm not quite sure i fully understand. 🙄

 

 

I think your'e saying:

Go to a category and your'e presented with a list of products.

Lets assume these products have options, (red, Blue) (large, small).

If you choose to purchase a product, the product options are not selected ???

And that you have to enter inside a product to choose an option, before you can purchase. ??

 

This creates many clicks for the customer.

If this is the issue, then I had a mod written by Semperfi, which addresses the issue.

you can see it here. https://www.cabletiesonline.co.uk/cable-ties.html

Because the development work has now been paid for, the mod isnt too expensive.

 

We called it:  Product Options On Category Page Plugin

https://www.semperfiwebservices.com/product-options-on-category-pages-cc6-plugin.html

 

 

 

 

 

Edited by keat

Share this post


Link to post
Share on other sites

Hi keat,

Yes, too many clicks are not good. Most customers want to be in and out, simple. Your mod appears to be the answer, I hope you don't mind me saying, but I would prefer the price to be updated on a change of options. A number of skins don't update till you put it in the basket, Foundation skin works when changing an option until I enter text in to the text required field (i.e. the text to be engraved).

I've bookmarked your site, will come in useful for some colleagues. Thank you for taking the time to respond and your advice.

Pete

Just noticed you use absolute prices.

Edited by Pete

Share this post


Link to post
Share on other sites

Does it update the prices upon an option click Ian.

This my be exactly what Pete is looking for.

Share this post


Link to post
Share on other sites

Here is a code hack that will bounce the browser to the View Product page if the View Category page has:
* only one product in this category, and
* this category has no sub-categories

In /classes/catalogue.class.php, near line 1891, find:

			if (is_numeric($search_data)) {
				if (($category = $this->getCategoryData((int)$search_data)) !== false) {
					if (($products = $this->getCategoryProducts((int)$search_data, $page, $per_page)) !== false) {
						$this->_category_products = $products;
						return true;

Change to:

			if (is_numeric($search_data)) {
				if (($category = $this->getCategoryData((int)$search_data)) !== false) {
					if (($products = $this->getCategoryProducts((int)$search_data, $page, $per_page)) !== false) {
						$this->_category_products = $products;
						if($this->displaySubCategory($category['cat_id'])===false && count($this->_category_products)==1 && ctype_digit(current($this->_category_products)['product_id'])) {
							httpredir('?_a=product&product_id='.current($this->_category_products)['product_id']);
						}
						return true;

 

Share this post


Link to post
Share on other sites

Hi bsmither,

It worked a treat, thank you for your help it is appreciated

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...