Page 7 of 14 FirstFirst ... 56789 ... LastLast
Results 61 to 70 of 134
  1. #61
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,750
    Plugin Contributions
    22

    Default Re: AJAX Add to Cart [Support Thread]

    Absolutely! :)

    Since you're a new Zenner, please remember that Zen Cart is a community driven platform and members are here to help each other. Any questions you have about ANY plugins, please post it in the public forums so that everyone else can benefit from potential answers... Oh, and - welcome to Zen Cart! :)

    You WILL need to run the SQL patch, but it's slightly different for the 1.3.x series. The only difference is that you don't need to register Admin Pages. So, the SQL patch for versions older than 1.5.0 would be:
    Code:
    SELECT @ZXconfig:=configuration_group_id
    FROM configuration_group
    WHERE configuration_group_title= 'ZX AJAX Cart'
    LIMIT 1;
    DELETE FROM configuration WHERE configuration_group_id = @ZXconfig AND configuration_group_id != 0;
    DELETE FROM configuration_group WHERE configuration_group_id = @ZXconfig AND configuration_group_id != 0;
    INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES (NULL, 'ZX AJAX Cart', 'ZX AJAX Add to Cart', '1', '1');
    SET @ZXconfig=last_insert_id();
    UPDATE configuration_group SET sort_order = @ZXconfig WHERE configuration_group_id = @ZXconfig;
    INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function) VALUES 
    (NULL, 'ZX AJAX Cart', 'ZX_AJAX_CART_STATUS', 'false', 'Activate ZX AJAX Add to Cart', @ZXconfig, 10, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
    (NULL, 'Use jQuery', 'ZX_AJAX_CART_JQUERY', 'false', 'If your template is already utilizing jQuery, keep this disabled. If you\'re not loading jQuery, please set to true.', @ZXconfig, 20, NOW(), NULL, 'zen_cfg_select_option(array(\'false\', \'true\'),'),
    (NULL, 'Show Close Cart button', 'ZX_AJAX_CART_CLOSE_BUTTON', 'false', 'Do you want to show the Close Cart button in the slider?', @ZXconfig, 25, NOW(), NULL, 'zen_cfg_select_option(array(\'false\', \'true\'),'),
    (NULL, ' Effect', 'ZX_AJAX_CART_FADE_DELAY', '6000', 'How long is the popup shown before it fades out (in miliseconds)', @ZXconfig, 30, NOW(), NULL, NULL),
    (NULL, 'ZX AJAX Add to Cart Version', 'ZX_AJAX_CART_VERSION', '1.1', 'Currently using: <strong>v1.1</strong><br />Module brought to you by <a href="http://www.zenexpert.com" target="_blank">ZenExpert</a>', @ZXconfig, 50, NOW(), NULL, 'zen_cfg_select_option(array(\'1.1\'),');
    Last edited by balihr; 13 Oct 2014 at 06:14 PM. Reason: silly mistake with copy/paste :)

  2. #62
    Join Date
    Aug 2014
    Location
    Polska
    Posts
    20
    Plugin Contributions
    0

    Default Re: AJAX Add to Cart [Support Thread]

    When I tried to install sql patch there were some errors:

    Success 11 statements processed.
    Error ERROR: Cannot insert configuration_key "" because it already exists
    Error ERROR: Cannot insert configuration_key "" because it already exists
    Error ERROR: Cannot insert configuration_key "" because it already exists
    Error ERROR: Cannot insert configuration_key "" because it already exists
    Error ERROR: Cannot insert configuration_key "" because it already exists
    Warning Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.

    And when I choose Configuration-> ZX Ajax Add To Cart, there is nothing except headings "Title" "Value" "Action". I have zc 1.5.1
    What am I doing wrong?

  3. #63
    Join Date
    Oct 2014
    Location
    North Carolina
    Posts
    8
    Plugin Contributions
    1

    Default Re: AJAX Add to Cart [Support Thread]

    Can you tell me how to update my cart that is displayed on the page top right when the ajax cart updates ?
    I am using the stirling grand template.
    And when i add to cart, the ajax updates but the top cart display does not is there a way to make it ?
    Thank you for the mod !!

  4. #64
    Join Date
    Oct 2014
    Location
    North Carolina
    Posts
    8
    Plugin Contributions
    1

    Default Re: AJAX Add to Cart [Support Thread]

    Quote Originally Posted by noahmarket View Post
    Can you tell me how to update my cart that is displayed on the page top right when the ajax cart updates ?
    I am using the stirling grand template.
    And when i add to cart, the ajax updates but the top cart display does not is there a way to make it ?
    Thank you for the mod !!

    Here is template im running zen 1.5.3
    http://www.picaflor-azul.com/respons...-cart-template

  5. #65
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,750
    Plugin Contributions
    22

    Default Re: AJAX Add to Cart [Support Thread]

    Quote Originally Posted by khejit View Post
    When I tried to install sql patch there were some errors:

    Success 11 statements processed.
    Error ERROR: Cannot insert configuration_key "" because it already exists
    Error ERROR: Cannot insert configuration_key "" because it already exists
    Error ERROR: Cannot insert configuration_key "" because it already exists
    Error ERROR: Cannot insert configuration_key "" because it already exists
    Error ERROR: Cannot insert configuration_key "" because it already exists
    Warning Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.

    And when I choose Configuration-> ZX Ajax Add To Cart, there is nothing except headings "Title" "Value" "Action". I have zc 1.5.1
    What am I doing wrong?
    Hm... Restore your database backup and try again. There's also a chance that you won't be able to run the SQL patch, usually because of some host related issues which I have never been able to figure out. If that's the case, you'll need to insert all the values manually from phpMyAdmin.

  6. #66
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,750
    Plugin Contributions
    22

    Default Re: AJAX Add to Cart [Support Thread]

    Quote Originally Posted by noahmarket View Post
    Can you tell me how to update my cart that is displayed on the page top right when the ajax cart updates ?
    I am using the stirling grand template.
    And when i add to cart, the ajax updates but the top cart display does not is there a way to make it ?
    Thank you for the mod !!
    I would need to see your site - most likely you didn't install the plugin correctly. You would need to disable any template related shopping cart header icons and use the one that comes with this mod, otherwise the script won't update your locations. Of course, you can make custom changes to the mod and make it work with your selectors and targets, but that's a different story and I can't support that here.

    P.S. Please don't enlarge the font - standard size is good enough.

  7. #67
    Join Date
    Aug 2014
    Location
    Polska
    Posts
    20
    Plugin Contributions
    0

    Default Re: AJAX Add to Cart [Support Thread]

    Quote Originally Posted by balihr View Post
    Hm... Restore your database backup and try again. There's also a chance that you won't be able to run the SQL patch, usually because of some host related issues which I have never been able to figure out. If that's the case, you'll need to insert all the values manually from phpMyAdmin.
    Thank you, this worked! I had to change sql command adding my database prefix _ewa before names of main tables to modify. If someone has similiar problem it can be caused by database prefix ;)

    I have one more question: how to add this on listing pages?

  8. #68
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,750
    Plugin Contributions
    22

    Default Re: AJAX Add to Cart [Support Thread]

    Hm, this is interesting... If the SQL patch is run from the admin, the prefix doesn't need to be added... Weird...

    As for listing pages - it's currently not supported and is awaiting for me to get some free time and add the feature. It's been on the to-do list since day one, but I just didn't get to it yet.

  9. #69
    Join Date
    Aug 2014
    Location
    Polska
    Posts
    20
    Plugin Contributions
    0

    Default Re: AJAX Add to Cart [Support Thread]

    One more little thing ;) I want to replace "Your Cart" (TEXT_AJAX_CART_TITLE) with image of cart that I already have.
    Could this be replaced with image easily?

  10. #70
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,750
    Plugin Contributions
    22

    Default Re: AJAX Add to Cart [Support Thread]

    Sure - just edit the define text (includes/languages/english/extra_definitions/zx_ajax_cart.php) and make it something like:
    Code:
    define('TEXT_AJAX_CART_TITLE', '<img src="images/icons/cart.png" alt="Your Cart" />');
    Of course, enter the correct path to your image...

 

 
Page 7 of 14 FirstFirst ... 56789 ... LastLast

Similar Threads

  1. v150 Contact Us - Add Subject support thread
    By gjh42 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 9 Jan 2019, 06:04 AM
  2. Add Shipping Telephone Support Thread
    By JTheed in forum Addon Admin Tools
    Replies: 31
    Last Post: 4 Sep 2018, 11:14 AM
  3. v139h Numinix Pinterest Add On Support Thread
    By swguy in forum All Other Contributions/Addons
    Replies: 49
    Last Post: 14 Jan 2018, 05:12 AM
  4. AJAX IMAGE Swapper support thread
    By jaycode in forum All Other Contributions/Addons
    Replies: 785
    Last Post: 13 Jan 2016, 11:48 PM
  5. AJAX BANNER Swapper support thread
    By jaycode in forum All Other Contributions/Addons
    Replies: 19
    Last Post: 11 Oct 2012, 05:55 AM

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