Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2004
    Posts
    2
    Plugin Contributions
    0

    Default Integrating a custom text counter.

    Hi all,

    I have developed a javascript text counter for a client that I need to integrate into ZC (version 1.3.0.2). It differs from others in that it it provides a surcharge for extra characters over a certain limit.

    What is the best way to integrate it into only certain product pages? It will need to pass the surcharge figure produced by the javascript to be added to the cost of the product. I plan to pass it via the £_POST['surcharge'] global as it seems the easiest (only?) way.

    I have scoured the forum for help but nothing seems to get close.

    Thanks in advance for any help on this.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Integrating a custom text counter.

    You might look at how the free characters work with text that is already built into Zen Cart to see where to change the calculation ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Dec 2004
    Posts
    2
    Plugin Contributions
    0

    Default Re: Integrating a custom text counter.

    Thanks Ajeh.

    I have looked at a number of files that I thought were connected but I can't follow the process that displays the text in the shopping cart (from the form's text area) and leads to adding a figure to the cart total.

    Can you elaborate and point me in the right direction please?

    Thanks.

 

 

Similar Threads

  1. Integrating ZenCart with a custom database
    By tangibleLime in forum General Questions
    Replies: 5
    Last Post: 19 Oct 2009, 04:07 AM
  2. Integrating Custom Javascript
    By Starlyn in forum General Questions
    Replies: 2
    Last Post: 26 Aug 2008, 04:32 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