New Landing How can we help? Themeforest Theme Support Neighborhood How to show SKU in cart page

Viewing 15 posts - 1 through 15 (of 20 total)
  • #175000
    [email protected]
    Member
    Post count: 57

    Hi there,

    I’d like to know how can I show SKU in cart page as I need it for setting up a dynamic remarketing campaign

    I ve followed this post, editing the woocommerce cart template. It works but it breaks the layout pushing the cart totals below

    Can you please tell me how to do it in your cart/cart.php file without breaking the layout.

    I will suggest if possible to narrow down the space for the product name(worst case scenario it goes on a new line) and make room for the SKU

    Regards

    Fabio

    #175148
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Which post have been followed by you to show SKU in cart page? I dont see any SKU at cart page.
    Thanks
    Mohammad

    #175164
    [email protected]
    Member
    Post count: 57

    Dear Mohammed

    Sorry

    I forgot to post the link

    https://support.woothemes.com/hc/communities/public/questions/201214427-Show-Product-SKU-in-cart

    Obviously you don’t see it in place as

    a) first I did it on a test domain
    b) I removed it as it was fucking up the layout, pushing the cart total down

    Anyway that post edits the woccommerce Template for cart/cart.php which is slightly different from neighborhood cart/cart.php

    If you provide me with a edit to neighborhood cart/cart.php it would be great, as soon as it keep everything on the same line

    Regards

    Fabio

    #175170
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me test domain url to check the layout issue with SKU.
    Thanks
    Mohammad

    #175181
    [email protected]
    Member
    Post count: 57

    Dear Mohammad,

    Check this and add the item to teh cart to check it

    http://trial.timeforyourskin.com/shop/guerlain-shalimar-deodorant-sans-alcool-roll-on/

    Regards

    Fabio

    #175203
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please disable the debugging because i am able to add any item in cart.
    Thanks
    Mohammad

    #175206
    [email protected]
    Member
    Post count: 57

    I ve disabled it

    Fabio

    #175218
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    There are many messages are still coming at top of the page.
    Thanks
    Mohammad

    #175222
    [email protected]
    Member
    Post count: 57

    Dear Mohammad

    I ve double checked. It has been properly disabled.

    Maybe it’s a caching issue from your side as I dont have cache on the trial.timeforyourskin.com

    Anywyay this is a screenshot

    Hope it can help you

    Regards

    Fabio

    Attachments:
    You must be logged in to view attached files.
    #175229
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please check the screenshot of my side. Please make this change to main site so i can check and resolve in few seconds.
    Thanks
    Mohammad

    Attachments:
    You must be logged in to view attached files.
    #175232
    [email protected]
    Member
    Post count: 57

    I see

    it’s definitely related to some cache

    Having said that, I don’t think it is a problem for what we are doing as if you scroll down after the debig line you can still see the cart

    Let me know if you can see it

    Regards

    Fabio

    #175244
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I already scrolled down the and see item on header cart. When i scroll more , i see empty cart message.

    Thanks
    Mohammad

    #175251
    [email protected]
    Member
    Post count: 57

    Dear Mohammad

    We have tried from different computers, different browsers and even from mobile.

    It is fine to us.

    It is probably your cache

    Having said that, please tell me what do you need on top of screnshot and ill try to provide it to you

    Regards

    Fabio

    #175255
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Its only working for you. I am not sure about it. This is small padding issue so you can replicate at your main website. Please replicate this issue at your main website.
    Thanks
    Mohammad

    #175266
    [email protected]
    Member
    Post count: 57

    Dear Mohammad

    I ve replicated it on my timeforyourskin.it but I had to remove it straight away as the subtotal section and proceed to checkout button has disapperared (check attachment)

    Anyway, I think that rather than discussing issues with my incorrect code, we should rather focus on how to modify neighborhood cart/cart.php in order to additionally to enable the sku…I dont really care of showing it. It’s only becasue that value is necessary in order for google dynamic remarketing to work

    Attachments:
    You must be logged in to view attached files.
Viewing 15 posts - 1 through 15 (of 20 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register