Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #28820

    Hi,

    I am trying to display a page with woocommerce products on sale.

    I am using the shortcode : [sale_products per_page=”12″] as described on woocommerce documentation : http://docs.woothemes.com/document/woocommerce-shortcodes/

    The page displays the products but with wrong formating. Seems it uses wrong template when rendering the page. I would like to render the page with the correct template as it used on products page.

    I cannot provide any link because my webstore is live and i have disable the page.

    You can test it if you create a page with the shortcode : [sale_products per_page=”12″] and check the resulted page.

    Kind regards

    Mario

    #138738

    Hi,

    It is showing properly on my end. Please update to WordPress 3.6 and download Enfold 2.0.1.

    Regards,

    Ismael

    #138739

    Hi Ismael,

    I have updates to 3.6 (it was 3.5.2) and i have enfold 2.0.1

    But issue not fixed.

    You can see here : http://sexshop-rodos.gr/%CF%80%CF%81%CE%BF%CF%83%CF%86%CE%BF%CF%81%CE%B5%CF%83/

    I guess its because of Greek characters.

    regards

    Mario

    #138740

    Hi Ismael,

    Forget my previous message. Anyway we decide not to display all products on sales.

    I need some help on other thing please if possible. I would like to change the sales icon and position.

    Here on forum i found a custom css code which changes “sales” position

    #top .onsale { top: -320px; }

    and it works fine.

    How can i apply a background image on the sales badge ?

    I tried with #top .onsale { top: -320px; background:url(‘filename.png’) }

    But the background image is not displaying corectly, is cropped.

    Assume that i want to use this image : https://cdn1.iconfinder.com/data/icons/Siena/128/label_sale%20yellow.png

    which is 128x128px

    regards

    Mario

    #138741

    Hey,

    You can use this on your custom.css or Quick CSS:

    #top .main_color .onsale {
    background: url('https://cdn1.iconfinder.com/data/icons/Siena/128/label_sale%20yellow.png') no-repeat center;
    width: 128px;
    height: 128px;
    text-indent: -9999px;
    top: -30px;
    }

    Regards,

    Ismael

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Woocommerce sales shortcode / page template’ is closed to new replies.