Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 29
  1. #11
    Join Date
    Jun 2007
    Posts
    21
    Plugin Contributions
    0

    Default Re: the download radio button

    Superb, thanks stage. Before I try it can I just check - If I copy my shop folder over to my hard disk and save my database as an sql file from within the server control panel, is that enough to restore the shop should anything go wrong? I'm just a tad concerned because I've spent quite a long time inputting zones etc and really wouldn't want to again :) Never done this before so it would be a good to know (I haven't come across any documentation on the specifics of back-up/restore strategies yet!).
    Thanks again,
    Egg

  2. #12
    Join Date
    Jun 2007
    Posts
    6
    Plugin Contributions
    0

    Default yeyah

    your'e the man stage, this was a really unpleasant detail designwize. good job!

  3. #13
    Join Date
    Jun 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: the download radio button

    Quote Originally Posted by egghed View Post
    Superb, thanks stage. Before I try it can I just check - If I copy my shop folder over to my hard disk and save my database as an sql file from within the server control panel, is that enough to restore the shop should anything go wrong? I'm just a tad concerned because I've spent quite a long time inputting zones etc and really wouldn't want to again :) Never done this before so it would be a good to know (I haven't come across any documentation on the specifics of back-up/restore strategies yet!).
    Thanks again,
    Egg
    You're welcome, I'm glad I could help. For this particular change you only have to backup the two files I mentioned. It doesn't effect the database. As long as you have a sound backup of those two files, if something goes wrong all you have to do it copy your backups back to your server.

    That being said, its not a bad idea for the purpose of general CYA its a good idea to have some regular backup process.

    If you are asking about running your shopping cart locally, you can get that set up, but in order to do that you'll need PHP, apache, and MySQL installed locally. Check out either WAMP or XAMPP.

    stage

  4. #14
    Join Date
    Jun 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: yeyah

    Quote Originally Posted by bananapunk View Post
    your'e the man stage, this was a really unpleasant detail designwize. good job!
    Thank you, happy to help.

  5. #15
    Join Date
    Jun 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: the download radio button

    there's still one problem left. products with attributes don't have BUY NOW button so customers are forced to click on the DETAILS. Would it be hard to recode?

  6. #16
    Join Date
    Jun 2007
    Posts
    21
    Plugin Contributions
    0

    Default Re: the download radio button

    Quote Originally Posted by stage View Post
    You're welcome, I'm glad I could help. For this particular change you only have to backup the two files I mentioned. It doesn't effect the database. As long as you have a sound backup of those two files, if something goes wrong all you have to do it copy your backups back to your server.

    That being said, its not a bad idea for the purpose of general CYA its a good idea to have some regular backup process.

    If you are asking about running your shopping cart locally, you can get that set up, but in order to do that you'll need PHP, apache, and MySQL installed locally. Check out either WAMP or XAMPP.

    stage
    OK, thats cool. I've now started backing up the whole shop at the end of each day's play and the DB in 3 different formats! I've no idea whether they'll restore ok should the time come but I'll have enough roll back options to choose from :)

    Cheers
    Egg

  7. #17
    Join Date
    Jun 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: the download radio button

    Quote Originally Posted by egghed View Post
    OK, thats cool. I've now started backing up the whole shop at the end of each day's play and the DB in 3 different formats! I've no idea whether they'll restore ok should the time come but I'll have enough roll back options to choose from :)

    Cheers
    Egg
    As long as the DB is backed up as SQL which I'm sure it likely is for you, its fairly easy to do a restore.

    stage

  8. #18
    Join Date
    Jun 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: the download radio button

    Quote Originally Posted by bananapunk View Post
    there's still one problem left. products with attributes don't have BUY NOW button so customers are forced to click on the DETAILS. Would it be hard to recode?
    I'm not sure how that is related, as I said I'm still learning the system. We're just setting up our shopping cart and had the "buy now" button set, but I noticed some times it displayed and other times didn't, it's likely in our case those products where it was showing up didn't have any attributes set yet. I ended up turning it off because it was rather ugly with our template.

    I'll take a look in a little bit but there should be some code in the products listing page that checks for that and if so you'd just have to add or actually change the condition it checks for. I'll let you know if I figure anything out.

    stage

  9. #19
    Join Date
    Jun 2007
    Posts
    21
    Plugin Contributions
    0

    Default Re: the download radio button

    Hello Stage
    Sorry to return to this, I'm just pasting the code in now, but when you suggest altering the line in attributes.php

    switch ($products_options_names->fields['products_options_images_style']) {
    there are 2 entries. One on line 226 and the other on line 324. I'm pasting blind as a non coder and am assuming it must be the second one as it is nearest to line the line 451 you quote. I have included 2 screens in the hope that you will be able to confirm which it is.
    Thanks
    Egg




  10. #20
    Join Date
    Jun 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: the download radio button

    It's the first one, I should have noted the other clue, to look for the radio button section. The second example you displayed is the "checkbox" section.

    Which version of Zen Cart are you using?

    stage

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. where to find the code that does the radio button?
    By denniszc in forum General Questions
    Replies: 9
    Last Post: 8 Apr 2013, 12:45 PM
  2. v139h Download Radio Button choice Showing Twice
    By budy in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 31 Jan 2013, 04:15 AM
  3. download product - radio button choice
    By betheone in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 28 Oct 2012, 07:12 PM
  4. Download troubles on Mac - How can I get the 'download' button to bring up 'save as'?
    By ThisSideOfTheCross in forum Managing Customers and Orders
    Replies: 2
    Last Post: 23 Apr 2010, 05:56 AM
  5. Can I hide the Download Radio Button?
    By elastic in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 21 Apr 2008, 05:45 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR