Jump to content



Member Since 16 May 2006
Offline Last Active Jan 29 2008 07:08 PM

Topics I've Started

Category & Parent IDs

09 November 2007 - 07:04 AM

Hi All,

I'm trying to get my navigation category to stay "highlighted" when I'm in a sub category or product page. The general categories_tree.tpl has some code in it to check if the current category matches category ID:

{if $category.category_id == $smarty.get.category_id}

This is pretty basic and lets me set a class for my HTML element (which is what I want to do). I also want to be able to check if the current category and/or product id has a parent ID...How do I access this variable? In the Smarty Debug I can see this:

4 => Array (6)
  category_id => "122"
  parent_id => "85"
  id_path => "85/122"
  category => "Desktops"
  position => "0"
  level => 1

I want to have some code work that looks like this:

If current category = current category or current category parent id then do this

Anyone dealt with this before?



Product Options as Different Products

31 October 2007 - 10:13 PM

Hi All,

So perhaps I'm missing something here, but this is what I'd like to do:

Product A has three color choices associated with it. I get how to add the color choices under product options, which works nicely and lets you do Product A "Yellow" etc.

The issue I have is that Product A Yellow has a unique product ID. I want the product options to change what product actually gets added to the cart, but have them all share the the same page. I don't want to create three instances of Product A for each color.

Is this making any sense? Is this what the product configurator is for? I played around with it a bit, but it seems a bit too robust for what I'm looking for.



SEO URL Add On 1.35 SP1

23 October 2007 - 04:49 PM

Hi All,

So I feel a bit silly posting this question as I've installed CS about five or six times and have never had an issue...

I'm dealing with a fresh install of 1.35 SP1 on my VPS in the root of a subdomain and I can't get the SEO URLs to work. I have mod rewrite working on my server (I've checked and had the beta version of 1.35 working fine). I have the SEO box checked under "add ons general". Nothing is happening though. The URLs are staying the same, I'm not getting any errors, it's like nothing changed. I've tried clearing my template cache, but that hasn't helped anything.

Here is my current .htaccess file:

DirectoryIndex index.html index.php

<IfModule mod_rewrite.c>
RewriteEngine on
# Some hostings require RewriteBase to be uncommented
# Example:
# Your store url is http://www.yourcompany.com/store/cscart
# So "RewriteBase" should be:
# RewriteBase /store/cscart 
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]


I've tried commenting and uncommenting the rewrite base. The strange thing it that NOTHING is happening...No errors, nothing...

Am I missing something here??



Integrating Wordpress Blog

28 September 2007 - 12:13 AM

Hi All,

So I have a question into CS support regarding Wordpress Blog integration, but I thought others might be interested in the topic.

Here is what I'd like to have:

1) A primary Nav item that says "Blog"
- Easy enough to do by editing a .tpl file

2) The Wordpress template wrapped in CS wrapper in its own /blog/ directory
- This is where it starts to get weird. I know I can include a different main template in the CS Cart index.tpl (blog.tpl, etc.), but there is lots of PHP code in the Wordpress files. Would just wrapping everything in {PHP} tags work? That doesn't really seem like the best solution.

The other issue is that I want to be able to use wordpress as it was intended in its own directory and not have it be something like index.php?target=pages&pageid=blog

I can't think of a way to not have that type of set up while still using CS and the template engine.

The other option is to duplicate the header and footer outside the CS .tpl files and just build out separate PHP files to include in Wordpress. This doesn't really seem like an ideal solution as I'd be maintaining code in two places.

Any care to weigh in here or better yet has integrated a blog into their CS site??




21 March 2007 - 05:10 PM

I've contacted CS to find out about a paying for an XHTML/CSS skin. I'm really interested in just using this for my own development purposes as a guide so I asked for what skin they were closest to completing (assuming it was default blue).

So here is a quick FAQ:

Q: Are you going to be putting out the skin soon/Is this worth paying for?
A: They said it won't happen in the nearest month and that there is another design in the works they're going to be concentrating on.

Q: What skin are you the farthest along on?
A: They said the default_blue skin, so this would be the one they would finish and deliver.

Q: How much would this cost?
A: Cost is $275.00

Q: What's the timeline for this?
A: 4 weeks (could be sooner depending on work load - they can't start work for two weeks)

Q: How good is the CSS?
A: They said it will be fully valid XHTML tableless (where possible)

So, I'm probably going to pay for this either way, but if anyone would like to pool resources, please let me know. From the other "mod trading" thread it seems that you can only "share" mods if people went in on them originally. I don't think that many people would be interested, but if you want to chip in $50 for it, then great! I realize I haven't been around that long, so if one of the mods wants to escrow this (if they're willing) I'd be more than happy to do it that way.

Thanks, and to CS admins: If this isn't acceptable use, please feel free to remove or edit.