Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #18648

    Goodmorning,

    How do I get the product description on top of the product image in the product category overview?

    Greetings John

    #100270

    My second question is, how can I add an “add to cart button” next to the price label? (overview product category)

    I hope you can help me! I am not familiar with php.

    Greetings John

    #100271

    Hi John,

    I’m not sure of a way to do either of those with Propulsion. Let me tag the topic for the rest of the support crew and see if anyone else has any ideas that we could help guide you through.

    Regards,

    Devin

    #100272

    Hi,

    Would you please be a bit more specific since ‘ product category overview page’ could be

    http://www.365cam.nl/product-categorie/ (doesnt exist)

    http://www.365cam.nl/product-categorie/high-defenition/ ( see title, but don’t see description, the description could be added to page but its quite big on individual product page…

    http://www.365cam.nl/winkel/bewakingscamera-hd/ (this page has two titles

    Could you please clarify and if at all possible add a url to each specific page and use a web based free editor to add rectangle and take screen shots. Please label location

    Nick

    #100273

    Hell Devin and Nick, thanks for your help so far. I hope I could explain a bit more.

    I f you look at

    http://www.365cam.nl/product-categorie/bewakingscameras/

    You will see the product image with the description beneath. I want to move the (description H3) upwards.

    I made an sketch for you to explan more;

    http://www.365cam.nl/?attachment_id=1949

    And my second question is if its possible to add an extra buy button next to the price tag?

    I hope Its possible and that you could help.

    Thanks John

    #100274

    hi,

    Do you mean like this? http://i.imgur.com/POQg1.png

    Yes its possible if that’s it.

    [Edit: Sorry. I re-read only your first question… My mistake]

    Thanks,

    Nick

    #100275

    Yes Nick. that’s it!

    I hope you can tell me how to do it. I know some css but that didnt work.

    Thanks.

    John

    #100276

    Hi,

    [Edit] – *You are not using the current version of the theme and the plugin*

    Took me a while to realize why nothing is working on my side, since I see you updated your WordPress I assumed plugin was recent as well… I don’t have the version of the theme you are using nor the plugin. Current theme version is 1.7 and you are using 1.3… Please go to themeforest and login using the account you purchased the theme with and download the update please. Be aware that the update will overwrite all theme files including custom.css , so make sure to backup first.

    You should ignore what’s below since its only the first part and I ran into problems already since things aren’t matching up.


    I wasn’t sure if your sketch was of a page or of an item box. Sounds like the item box. I will give you the instructions, just wanted to make sure I understand you correctly.

    I don’t think css alone is a viable solution because css I used wasn’t working correctly on all browsers.

    You will also have problems for items on sale because that takes up 70% of each box.

    Ok…

    1) Please make a backup first before editing any of the files below so that you can revert if something goes wrong.

    Please delete lines 107-108 in file /config-woocommerce/config.php in the theme folder which look like:

    add_action( 'woocommerce_before_shop_loop_item', 'avia_woocommerce_thumbnail', 10);
    add_action( 'woocommerce_after_shop_loop_item_title', 'avia_woocommerce_overview_excerpt', 10);

    and paste the 2 lines below on lines 107-108

    add_action( 'woocommerce_before_shop_loop_item', 'avia_woocommerce_overview_excerpt', 10);
    add_action( 'woocommerce_after_shop_loop_item_title', 'avia_woocommerce_thumbnail', 10);

    Thanks,

    Nick

    #100277

    Hi Nick, glad you will help. I will update and backup the custum css file. Is that enough? Or can I ruin other things? I only made custum css adjustments to the theme.

    Thanks,

    John

    #100278

    Hi,

    I would just backup the entire theme wp-content directory and the database (which you should be doing anyways at least once a week automatically). It takes 5 minutes, but if the update goes wrong, you can wind up losing all the time you’ve spent.

    You can download any backup plugin from wordpress.org. Here is one http://wordpress.org/extend/plugins/wponlinebackup/ …there are quite a few of them.

    Just keep the custom.css file separately, and when you update, don’t do it from WordPress but instead login with ftp, and after backing up, delete the theme folder, and upload the update theme folder right in its place, then replace the custom.css file.

    It may also be a good idea for you to start using a child theme so that any customization are done within the child theme and the original isn’t touched.

    Here is a child theme Propulsion Child-Theme

    Just install after update as if it were a regular theme and turn it on. (this part is up to you).

    Thanks,

    Nick

    #100279

    Done!! Good explanation. Hope it helps.

    Thanks!!

    John

    #100280

    Glad Nick could help :)

    Regards,

    Devin

    #100281

    Yes, but can I now start to delete line 107-108? and insert the lines Nick mentioned?

    Thanks,

    John

    #100282

    Hi,

    So you are all updated now?

    Please update the plugin. I am using 1.6.6

    OK so please paste the code below over lines 102-110 which should look like a single block of code in your page

    //add theme actions && filter
    add_action( 'woocommerce_before_main_content', 'avia_woocommerce_before_main_content', 10);
    add_action( 'woocommerce_after_main_content', 'avia_woocommerce_after_main_content', 10);
    add_action( 'woocommerce_before_shop_loop', 'avia_woocommerce_before_shop_loop', 1);
    add_action( 'woocommerce_after_shop_loop', 'avia_woocommerce_after_shop_loop', 10);
    add_action( 'woocommerce_before_shop_loop_item', 'avia_woocommerce_overview_excerpt', 10);
    add_action( 'woocommerce_after_shop_loop_item_title', 'avia_woocommerce_thumbnail', 10);
    add_filter( 'loop_shop_columns', 'avia_woocommerce_loop_columns');
    add_filter( 'loop_shop_per_page', 'avia_woocommerce_product_count' );

    and save. Now add this code to your quick or custom.css file

    #top .price span {
    position: absolute;
    display: inline-block;
    z-index: 9999;
    top: 230px;
    right: 120px;
    }

    I need to look at it, and yes it will be a bit messed up but you can fix that part yourself by changing the top: and right: values to position the price.

    Just please don’t take it out till I look at it.

    Thanks,

    NIck

    #100283

    Hi Nick,

    Yes that it! exactly what I wanted. You are the best!!! Can you tell me how I add the “buy to” button? (next to the price tag).

    Thanks so far!

    John

    #100284

    Hi,

    This is the tricky part.

    In file config.php in the config-woocommerce folder look for lines 500-503. And you may have these on a different line by now. so just look for the block that looks like this

    if(!empty($rating)) echo "<span class='rating_container'>".$rating."</span>";
    echo "</div>";
    echo "</div>";
    }

    and change it to look like this (you are adding one line before the last one)

    if(!empty($rating)) echo "<span class='rating_container'>".$rating."</span>";
    echo "</div>";
    echo "</div>";
    echo $link;
    }

    It is working locally to my amazement since any button is rejected outright. Please see if this generates a button for you.

    Thanks,

    Nick

    #100285

    Yes Nick, it did!

    thanks for your help, I appreciate it.!!!

    greetings John

    #100286

    Glad things worked out for you. Good luck.

    Thanks,

    Nick

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

The topic ‘Product description’ is closed to new replies.