Post ProjectBuyersProgrammersFAQForumContactRSS
      MEMBER LOGIN
      SERVICES & FEATURES
  • Post a Project
  • Signup
  • Job Listings
  • Featured Projects
  • Certified Members
  • Top Programmers
  • Affiliate Program
  • RSS Feeds
  •    THE 20 LATEST PROJECTS
    Press Release & Digg Frontpage
    Convert Script To Myspace F T
    Moderator Page
    Asp/.net Online Registration
    Banners (rotation Header Type)
    Animated 3d Character
    Research And Data Entry
    Flash Catalog Site
    Club Ladies Night Flyer -urgnt
    One Aricle A Week
    Register On Article Websites
    Modify Php Template Website
    Rebrand Software
    For Risalat1 Only
    Web Page Design
    Mailer Program
    High Paying Marketing Project
    Affiliate Marketing Pros
    Hiring Sales Professionals
    Reliable Data Entry
     
       POPULAR NEW PROJECTS
    Swoopo Clones
    Article Writing
    Content Submission
    Landing Pages
    Conversions
    Twitter
    iPhone Applications
     
    Project: Modification: Zen Cart cc.php
    ID: 1228158851
    Bookmark and Share Post Similar ProjectManage Your Project

    PROJECT DETAILS
    Status: Closed (Cancelled)
    Budget: N/A
    Created: 12/1/2008 at 14:14 EST
    Cancelled: 12/23/2008 at 0:34 EST
    Project Creator:
    michelleshaeffer
    Rating: 10.00/10 (3 reviews)
    Description: I need to be able to add a flag into the attached cc.php file so that if specified product IDs are found in the cart, the module won't show up. We want to disallow credit card payment only on specific items.

    I've got this code which flags based on order total and it's supposed to make the module not show up if the order is under $15, which is similar but not exactly what we want. And it doesn't work so I don't know if it's helpful, but thought I'd include it in case it is:

    // control by order total
    $chk_order_total = $_SESSION['cart']->show_total() - $_SESSION['cart']->free_shipping_prices() ;
    if ($this->enabled == true && $chk_order_total <= 15) {
    $this->enabled = true;
    } else {
    $this->enabled = false;
    }

    The module itself has a section that checks for flags based on shipping zones and if certain zones are disabled it won't show up but I don't have that activated. That also might be helpful to base the code on.

    All I need is a bit of code added there that I can specify which products the cc module should *not* show up for (or which it should, it doesn't matter either way I just need to specify by product ID when it either shouldn't or should appear during checkout). I can directly modify the cc.php file to add these product IDs so no admin interface needs programmed.

    Please message with any questions. Thanks!

    Job Type: PHP


    View Message Board for this Project Messages Posted: 11


    PROJECT BIDS
    Programmers Bid Delivery Time Time of Bid Rating  
    damiannki $30 Immediately 12/1/2008 at 14:18 EST
    10.00/10
    (29 reviews)
     
    I can help you right now
    softsaiindia $30 Immediately 12/4/2008 at 22:04 EST
    (No Feedback Yet)
     
    ready to start
    coderxo $40 Immediately 12/1/2008 at 22:15 EST
    9.97/10
    (213 reviews)
     
    pls chk pmb
    firake $50 1 day 12/2/2008 at 13:40 EST
    8.00/10
    (1 review)
     
    coolguyinus2004 Certified Programmer $65 1 day 12/1/2008 at 19:00 EST
    9.72/10
    (208 reviews)
     

    Related Projects:
    PHP CMS with shopping cart JAVA PROJECT MODIFICATION Simple Paypal Cart /w Products Word Press Modification Modification to previous proje
    More...


    Copyright © 2001 - 2009
    ScriptLance is a trade-mark of
    R3N3 International Inc
    Bookmark and Share
    Site MapRSSPrivacy PolicyTermsReport ViolationsAffiliatesFAQForumContact Support
    Web Design by: DevFly.com