• Resolved jefferisp7

    (@jefferisp7)


    Version: 3.2.8 with WP 4.9 current If you add an item to your cart and you try to click on the cart icon in the upper right, the page reloads but does not take you to the cart. We cannot sell firearms online, so we have items with zero pricing. Other than CSS to hide that field, anyway to replace price field with “Call for Price” ?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @jefferisp7

    Hope all is well!

    To redirect to checkout page after a product is added, please go to Store Settings > Presentation and select “Redirect to cart page for immediate checkout“. Please see this screenshot:

    We cannot sell firearms online, so we have items with zero pricing. Other than CSS to hide that field, anyway to replace price field with “Call for Price” ?

    Replacing Price fields with a text requires custom coding. You can hide the price with CSS code on a product & Checkout pages:

    /*hide procie on a product page*/
    .mp_product_price-normal {
    display:none !important;
    }
    /*Hide Price on a checkout page*/
    .mp_product_price {
    	display:none !important;
    
    }
    /*Hide  "Estimated Total" on a checkout page */
    #mp-cart-resume {
    		display:none !important;
    }

    And after this, please you can change the Checkout button text from translation files. This can be done either with Loco Translate plugin or manually by changing strings with mp.pot file from wp-content/plugins/marketpress/languages/. Note, other plugin’s strings can be changed as well this way. Place the mp.po and mp.mo files in the /wp-conetnt/languages/plugins/ folder.

    Let us know if you will have any further questions.

    Kind regards,
    Nastia

    Thread Starter jefferisp7

    (@jefferisp7)

    That did not fix it. When I select the cart button, the page refreshes, but the cart page does not show, even if I select go to cart immediately.

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @jefferisp7,

    hope you’re doing good today! ??

    I’m afraid above setting works for single products only, not in product lists like Products page or other archives.
    I’ve already pinged our developers about it, in case there’s any filter, or other workaround, that we could use to surpass that. I’ll keep posted here as soon as there’s a development on this.

    Thank you,
    Dimitris

    Thread Starter jefferisp7

    (@jefferisp7)

    well I cannot access the cart from any link. I do not have a credit card processor activated. Could that be the cause? I can put things in the cart but cannot see the cart. I don’t think you are ready my entire message or you don’t understand it. I CANNOT GET TO THE CART PAGE BY ANY METHOD.

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hey @jefferisp7,

    I’m sorry, it wasn’t clear to me.

    Can you please check that you’ve set all Store Pages in Store Settings->Presentation?

    https://monosnap.com/file/waIH8mZ3E0cRYWm2G3sbkDj77M0qGQ

    Warm regards,
    Dimitris ??

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hey @jefferisp7,

    I had some feedback from our developers. In order to redirect to Cart page, as long as above issue is fixed, from add-to-cart buttons from all pages, you should create a little MU plugin file like:
    wp-content/mu-plugins/mp-redirect-to-cart.php
    (just create the /mu-plugins/ folder, if it doesn’t exist already)
    and add the exact snippet in there:

    <?php
    add_filter( 'mp_buy_button_tag', function( $button ){
      $button = str_replace( 'name="addcart"' , 'name="buynow"', $button );
      return $button;
    } );

    Warm regards,
    Dimitris

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @jefferisp7

    It’s been a while since we’ve heard back from you, so I’m marking this topic as resolved. Feel free to post back any updates and we can re-open it and carry on troubleshooting. ??

    Take care,
    Dimitris

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Cart link not working’ is closed to new replies.