Thread: 5 Simple things

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Oct 2006
    Posts
    12
    Plugin Contributions
    0

    5 Simple things

    Greetings to all.

    I have 5 questions that I need answered in my quest to make Zen work for me, after two years of struggling along with it. 1.3.5 is *almost* the ideal cart for my needs, and these few things plus the anticipated 1.5 version (a ways off, I know) will help it to be come ideal.

    I have returned after an abscence from these forums in action (though I've been reading). I have a new account and everything.

    Current version: 1.3.5.

    I am not displaying sideboxes. At all. They are not an option here. There's a few sideboxes I'd like to move to the center section (best sellers, who's online, cart stuff), but I will figure that out later.

    Custom template, using all overrides except for a couple of mods that I think overwrote pages -- no big deal, though, I'll just update as they go or drop the mods.

    The five questions are:

    1 - I would like to move the information for language selection to my Navigation bar. What code would I use to display it in the tpl_header?

    2 - I would like to place the code for the currency selection in the same place, so again, the same information, please.

    3 - I would like to display the manufacturer image on the tpl_product_info_display that is uploaded when you create the manufacturer. What code should I use for this, please?

    4 - I would like to be able to display the file size for the virtual products on the tpl_product_info_display. My examination of the code indicates this isn't possible at present. Is this the case?

    5 - For virutal products, I have the default status for attributes selected automatically, so that customers can simply add the item to their cart. There is no need for them to select attributes, otherwise, for virtual products. In the product listings, I would like for the "Buy now" button to be visible instead of more info, in order to make my customer's happier. How would I go about this?

    I thank you for your help.

    Elle

  2. #2
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,291
    Plugin Contributions
    1

    Default Re: 5 Simple things

    A New Starter again

  3. #3
    Join Date
    Oct 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: 5 Simple things

    Thank you, very much!!

  4. #4
    Join Date
    Sep 2004
    Posts
    1,388
    Plugin Contributions
    4

    Default Re: 5 Simple things

    Quote Originally Posted by vyxyn
    5 - For virutal products, I have the default status for attributes selected automatically, so that customers can simply add the item to their cart. There is no need for them to select attributes, otherwise, for virtual products. In the product listings, I would like for the "Buy now" button to be visible instead of more info, in order to make my customer's happier. How would I go about this?
    Not possible. The default values are selected when the product info page is loaded. Until then, they are just values in the database, and are not looked at when loading a product category. In order to have the add to cart button on the product listing, the product must be free of any attributes.

    You can work around this issue by arranging attributes as products within a category tree. So instead of a shirt with red, blue, and green options, you make a category for shirts, then red, blue, and green shirt products within that category.

    For an awesome example of this solution at work, visit InkSale.
    Frank Koehl
    "Cleverly Disguised as a Responsible Adult"

    frankkoehl.com

  5. #5
    Join Date
    Oct 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: 5 Simple things

    Quote Originally Posted by BlindSide
    Not possible. The default values are selected when the product info page is loaded. Until then, they are just values in the database, and are not looked at when loading a product category. In order to have the add to cart button on the product listing, the product must be free of any attributes.

    You can work around this issue by arranging attributes as products within a category tree. So instead of a shirt with red, blue, and green options, you make a category for shirts, then red, blue, and green shirt products within that category.

    For an awesome example of this solution at work, visit InkSale.

    That's what I was afraid of. Ah well, it was a dream, lol.

    Virtual products, however, *must* have an attribute, as far as I know, and this applies strictly to virtual products.

    Thank you for answering.

  6. #6
    Join Date
    Oct 2006
    Posts
    12
    Plugin Contributions
    0

    Re: 5 Simple things

    Well, a bit of an update for any that might be following.

    Thanks to bunyip's mods, I have my language and currency selectors in place (and the testers are loving them -- perhaps a little too much).

    The French and Spanish languages contribs are very nice. They need a tiny bit of work but are well done.

    I'm still looking for possible solutions to these three items:

    3 - I would like to display the manufacturer image on the tpl_product_info_display that is uploaded when you create the manufacturer. What code should I use for this, please?

    4 - I would like to be able to display the file size for the virtual products on the tpl_product_info_display. My examination of the code indicates this isn't possible at present. Is this the case?

    5 - For virutal products, I have the default status for attributes selected automatically, so that customers can simply add the item to their cart. There is no need for them to select attributes, otherwise, for virtual products. In the product listings, I would like for the "Buy now" button to be visible instead of more info, in order to make my customer's happier. How would I go about this?

    I know that Blindside made mention of what was done at Inksale in reference to 5, however My question isn't about regular products but virtual ones, and the usually helpful BS may have missed that little fact.

    The other two I'm sure are simple to answer, but I can't for the life of me find out where.

  7. #7
    Join Date
    Sep 2004
    Posts
    1,388
    Plugin Contributions
    4

    Default Re: 5 Simple things

    Quote Originally Posted by vyxyn
    5 - For virutal products, I have the default status for attributes selected automatically, so that customers can simply add the item to their cart. There is no need for them to select attributes, otherwise, for virtual products. In the product listings, I would like for the "Buy now" button to be visible instead of more info, in order to make my customer's happier. How would I go about this?

    I know that Blindside made mention of what was done at Inksale in reference to 5, however My question isn't about regular products but virtual ones, and the usually helpful BS may have missed that little fact.
    No, I didn't miss it. The download exists as an attribute. Therefore the product has attributes. Therefore you cannot display the "Buy Now" button.
    Frank Koehl
    "Cleverly Disguised as a Responsible Adult"

    frankkoehl.com

  8. #8
    Join Date
    Oct 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: 5 Simple things

    So what your really saying is that I can't make my customer's happier and I should just be happy with it?

    (teasing)

    I'm aware of the limitation as present. I'm seeking the workaround for it, not confirmation.

    Confirmation is #4. That one I can live with, as the custom form we have to use can establish this for us, without affecting zen.

    My goal, however, is to use zen's incredible feature set for as much as possible. And while I'm not a programmer, there are many wonderful ones here, and since that isn't impossible, merely improbable, I ask in hopes that it would be something someone might have already solved on their own until the zen team gets around to it (and I believe they will, although I could easily be wrong there).

    Over the last few years, the usability of ZC has increased dramatically, insofar as my needs. This will be the fourth iteration of the car for my site, and, barring some sort of nightmare with the new DAL screwing things up, the last time I'll have to start from scratch with it.

    Since I'm not the only primarily virtual product user of ZC, and this a common and useful need, I don't see that asking for such would necessitate simply outright saying no when I'm asking for a means to make it so.

    It is possible. Just not as designed at present. So let's change that, and help the ZC team a little maybe

  9. #9
    Join Date
    Sep 2004
    Posts
    1,388
    Plugin Contributions
    4

    Default Re: 5 Simple things

    Quote Originally Posted by vyxyn
    So what your really saying is that I can't make my customer's happier and I should just be happy with it?
    Yeah, you'll take what we give you and like it!

    I would offer a workaround, but am not aware of any at this time. It would certainly be possible with a little customization to do what you are looking for, however it may require you to visit the Commercial Help Wanted section.
    Frank Koehl
    "Cleverly Disguised as a Responsible Adult"

    frankkoehl.com

  10. #10
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: 5 Simple things

    4. You'd have to build custom code to detect whether the given attribute has an associated download file, and then you could re-use some of the code in the tpl_modules_downloads.php file to calculate the size, and add the size to the name of the attribute value when it's drawn.

    Or you could just determine the download size ahead-of-time, and add that information to your Option Value description so that it shows as part of the attribute selection.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. 2 things:
    By peeryr in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 23 May 2008, 07:30 PM
  2. When I make simple edits, things break.
    By pdxdoug in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 May 2008, 04:29 AM
  3. 2 Little Things
    By Sophie in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Nov 2006, 12:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg