Ask the community

This is a community support forum where you can ask
questions and interact with other PremiumPress Customers.

add to cart button problem

  • Brandon
    Brandon
    Titan 709 points
    July 14, 2013 at 7:03 am

    Ian I changed the _item file to below code and it is showing the URL for the product above the More Info button.

    <?php echo get_permalink($GLOBALS[‘post’]->ID); ?>”><span class=”add-box”><span><?php echo $PPT->_e(array(‘button’,’13’)) ?></span></span>

    SEE PIC

    Attachments:
    You must be logged in to view attached files.
  • Ian
    Ian
    Super Guru 1,200 points
    July 14, 2013 at 7:04 am

    In template_shopperpress or you can change things in setup>language

  • Brandon
    Brandon
    Titan 709 points
    July 14, 2013 at 7:09 am

    Ian, I had the code in wrong.

    it is now working perfect.

  • Ian
    Ian
    Super Guru 1,200 points
    July 14, 2013 at 7:09 am

    All you should be touching is sp & 2

    Edit: Ah, good :)

  • Brandon
    Brandon
    Titan 709 points
    July 14, 2013 at 7:11 am

    Ian, is it possible to get the Add to Cart to actually Add to Cart.

    What would it take to get this done.

  • Brandon
    Brandon
    Titan 709 points
    July 14, 2013 at 7:16 am

    Ian, I tried changing the system_customdesign.php file and I get a Parse Error everytime.

    Only thing I changed was the 2 to _side5

    Parse error: syntax error, unexpected ‘}’ in /home/cobramot/public_html/wp-content/themes/shopperpress/template_shopperpress/system_customdesign.php on line 1

  • Ian
    Ian
    Super Guru 1,200 points
    July 14, 2013 at 7:20 am

    Only thing I changed was the 2 to _side5

    Obviously something else got changed 😉

    That was an alternative, you don’t have to do both options I gave.

  • David Harris
    David Harris
    Senior Member 367 points
    July 14, 2013 at 7:30 am

    The _item.php file in the default theme is not good for the others, the one I tried it in messed up the layout btw.

    Also it’s the actual real buy button that is the problem.

  • Ian
    Ian
    Super Guru 1,200 points
    July 14, 2013 at 8:04 am

    Also it’s the actual real buy button that is the problem.

    What is the actual real buy button?

  • David Harris
    David Harris
    Senior Member 367 points
    July 14, 2013 at 8:34 am

    The one that actually adds to the cart, it changes as you mentioned.

  • Ian
    Ian
    Super Guru 1,200 points
    July 14, 2013 at 8:56 am

    The _item.php from the default theme shouldn’t have the text – Add To Cart – in there as it means it’s not using the language file. I changed that as well to <?php echo $PPT->_e(array(‘sp’,’2′)) ?>

  • Brandon
    Brandon
    Titan 709 points
    July 14, 2013 at 2:38 pm

    my question is can we code the ADD to Cart to actually Add to Cart.

  • Mark Fail
    Mark Fail
    Super Guru 12,822 points
    July 14, 2013 at 3:05 pm

    Brandon, no, because the the cart options are only on the listing page at the moment.

  • Brandon
    Brandon
    Titan 709 points
    July 15, 2013 at 4:27 am

    What would someone charge me to code this to work.

  • Mark Fail
    Mark Fail
    Super Guru 12,822 points
    July 15, 2013 at 7:37 am

    stick it in the jobs board and post a link, people can bid and you’ll find out :)

Viewing 15 posts - 16 through 30 (of 30 total)