add to cart button problem

WordPress Business Themes Forums Version 7 Themes ShopperPress add to cart button problem

Discontinued - The forum content is out of date. For theme support please use our support desk here.

add to cart button problem

July 11, 2013
 Stephen

  • Stephen
    Newbie 0 points

    Hi, the add to cart button on the gallery page (ie within a category) does not add the product to the cart but it displays the product detail page. This seems confusing, surely it should just add the item to the cart?

    July 11, 2013 at 3:02 pm
  • Brandon
    Brandon
    Titan 709 points

    it does not. This is something I have wanted for sometime.

    If anyone knows the code we can use please let us know.

    July 11, 2013 at 4:17 pm
  • David Harris
    David Harris
    Senior Member 367 points

    Just change the txt to ‘More info’ in _item.php I believe.

    July 11, 2013 at 5:14 pm
  • Brandon
    Brandon
    Titan 709 points

    David did you ever figure out how to change the Add to Cart to More Info

    July 14, 2013 at 6:19 am
  • Mark Fail
    Mark Fail
    Super Guru 12,814 points

    IS this just a text change? (did you check the language file?)

    July 14, 2013 at 6:24 am
  • David Harris
    David Harris
    Senior Member 367 points

    Not looked at it since the last post, but I think that _item.php needs modifying so it can be used in the other themes, the answer must be in there because it works for the default theme, wish Mark would chip in.

    July 14, 2013 at 6:24 am
  • David Harris
    David Harris
    Senior Member 367 points

    lol, spoke too soon. :)

    July 14, 2013 at 6:24 am
  • David Harris
    David Harris
    Senior Member 367 points

    Mark if you alter it in the lang file the main buy button changes as well but with the default theme you just edit _item.php but the other themes don’t have this option.

    July 14, 2013 at 6:25 am
  • Brandon
    Brandon
    Titan 709 points

    see picture. we would like the Add to Cart on the Related Products to read More Info

    Reason for this is Add to Cart does not really add to cart.

    Attachments:
    You must be logged in to view attached files.
    July 14, 2013 at 6:27 am
  • David Harris
    David Harris
    Senior Member 367 points
    July 14, 2013 at 6:30 am
  • Ian
    Ian
    Super Guru 1,200 points

    I remember how I did it now, in _item.php around line 85

    a href="<?php echo get_permalink($GLOBALS['post']->ID); ?>"><span class="add-box"><span><?php echo $PPT->_e(array('sp','2')) ?></span></span></a>

    Change ‘sp’,’2′ to ‘button’,’13’

    button 13 is already set to ‘More Info’

    July 14, 2013 at 6:44 am
  • Brandon
    Brandon
    Titan 709 points

    Ian, there is no _item.php file in the ShopperPress-Classic-Shop folder.

    Do I copy the file from the template_shopperpress folder and then insert you code.

    And final step would be to upload the file to the ShopperPress-Classic-Shop folder

    July 14, 2013 at 6:50 am
  • Ian
    Ian
    Super Guru 1,200 points

    Alternatively you could find ‘sp’,’2′ in system_customdesign.php and change it to ‘sp’,’_side5′ and then change the wording to sp 2 in the language file.

    July 14, 2013 at 6:52 am
  • Ian
    Ian
    Super Guru 1,200 points

    @Brandon, it uses the _item.php in the template folder I think.

    July 14, 2013 at 6:53 am
  • Brandon
    Brandon
    Titan 709 points

    What do you mean Language file. Where is the language file

    July 14, 2013 at 6:58 am
Viewing 15 posts - 1 through 15 (of 30 total)

Didn't find what you were after?

Chat with us now

or contact our support team