Jump to content

Category home page?


Pete

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

Link to comment
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...

Link to comment
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

 

 

 

 

 

Link to comment
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.

Link to comment
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;

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...