Results 1 to 3 of 3

Thread: 2CO blues , custom product name

  1. #1
    Join Date
    Jan 2008
    Posts
    7

    Default 2CO blues , custom product name

    HI, thanks for reading...

    I have a little problem with my 2CO, when we go through to 2CO it shows the name of the item as

    name: Cart purchase: 7748C998B1 10.00

    Now, I dont know about you, but that does not look so friendly for me to spend my $10 on.


    I have editted my 2co.php file to no avail:

    <input type="hidden" name="item_name" value="<?= $item_name ?>">

    <input type='hidden' name='c_prod' value='Subscription term name' >
    <input type='hidden' name='c_name' value='Subscription name' >
    <input type='hidden' name='c_description' value='Your subscription is for ... days' >


    Anyone have a solution,

    Thanks a lot



    Carl

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    You need to add the product in your 2CO admin panel, otherwise you will only see a random item number for the purchase "title"

  3. #3
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Try to change 2co.php like this (the form section only)
    As I remember this problem has been fixed for indexu deluxe version.
    Please confirm if it work.
    =========

    <form name="payment" action="https://www.2checkout.com/2co/buyer/purchase" method="post">
    <input type="hidden" name="sid" value="<?= $co_sid ?>">
    <input type="hidden" name="cart_order_id" value="<?= substr(strtoupper(md5(uniqid(rand(), true))), 0, 10) ?>">
    <input type="hidden" name="total" value="<?= $total ?>">

    <input type="hidden" name="secret" value="<?= $co_secret ?>">
    <input type="hidden" name="pay_method" value="CC">
    <input type="hidden" name="fixed" value="Y">
    <input type="hidden" name="custom" value="<?= urlencode($custom) ?>">

    <input type="hidden" name="invoice_id" value="<?= $invoice_id ?>">
    <input type="hidden" name="notify_url" value="<?= urlencode($notify_url) ?>">
    <input type="hidden" name="return" value="<?= urlencode($return_url) ?>">
    <input type="hidden" name="cancel_return" value="<?= urlencode($cancel_url) ?>">

    <input type="hidden" name="id_type" value="1">

    <input type="hidden" name="c_prod_1" value="XYZ">
    <input type="hidden" name="c_name_1" value="<?= $item_name ?>">
    <input type="hidden" name="c_description_1" value="">
    <input type="hidden" name="c_price_1" value="<?= $total ?>">
    <input type="hidden" name="c_tangible_1" value="N">
    </form>

Similar Threads

  1. Great Product
    By woolfie in forum Customer Reviews
    Replies: 3
    Last Post: 11-23-2007, 11:53 PM
  2. v5.0.1 BLUES - Nothing seems to be working
    By janewest in forum v5.x
    Replies: 5
    Last Post: 02-19-2006, 10:28 AM
  3. Product Security & Suggestions
    By Hart_House in forum v5.x
    Replies: 2
    Last Post: 10-28-2002, 06:03 PM
  4. Indexu Product Review
    By Hart_House in forum Customer Reviews
    Replies: 0
    Last Post: 05-10-2002, 08:12 AM
  5. Great Looking product but...
    By designguy in forum Pre-Sales Questions
    Replies: 4
    Last Post: 03-11-2002, 05:51 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
  •