Thread: cPath

Results 1 to 5 of 5
  1. #1
    Join Date
    May 2010
    Location
    Cyberspace
    Posts
    376
    Plugin Contributions
    0

    help question cPath

    Hello!

    I'd like to change this code so pressing the button links to the product info page instead of adding a product when pressed.

    $featured_buy = '<a href="' . zen_href_link($_GET['main_page'], zen_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $featured_products->fields['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_BUY_NOW, BUTTON_BUY_NOW_ALT, 'class="listingBuyNowButton featuredModuleButton"') . '</a>';
    it would be nice with suggestions!

    thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: cPath

    If the product listing page you are referring to turn it off from the admin > config > product listing > several options

  3. #3
    Join Date
    May 2010
    Location
    Cyberspace
    Posts
    376
    Plugin Contributions
    0

    help question Re: cPath

    Thanks!

    Well, actually it's a modification of an existing add-on 'Featured tiles'. I'm using the button command provided with this add-on. Pressing the button generates the addition of one product of the article into the customer basket. I'd like pressing the button to link the Customer to the products info page. I tried for several hours yesterday to find the right line of code to do this, but couldn't execute it the right way...

    Regards
    Jacob

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: cPath

    actually it's a modification of an existing add-on 'Featured tiles'
    Then this is not a "General Question" topic and belongs in the contributed addon area

    There may a support thread for the module already

  5. #5
    Join Date
    May 2010
    Location
    Cyberspace
    Posts
    376
    Plugin Contributions
    0

    Default Re: cPath

    My mistake, sorry.

 

 

Similar Threads

  1. v154 cPath Question
    By DannyVarley in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 15 Jun 2015, 04:40 PM
  2. cpath is it needed?
    By DigitalShadow in forum General Questions
    Replies: 17
    Last Post: 19 Dec 2010, 11:39 AM
  3. cPath changing value??
    By thomasharding in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 17 Feb 2009, 12:10 PM
  4. cPath=
    By pwhyles in forum General Questions
    Replies: 2
    Last Post: 28 Jun 2007, 10:42 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