WordPress.org

Ready to get started?Download WordPress

Forums

[closed] Dukapress (44 posts)

  1. nfiori
    Member
    Posted 3 years ago #

    thank you for being so helpful. I appreciate it

  2. daveyc
    Member
    Posted 3 years ago #

    @moshthepitt.

    Thanks for the help. Turned out it was a shortcode error.

    Sorry to bother you and thank you so much for the useful information

  3. moshthepitt
    Member
    Posted 3 years ago #

    @daveyc no worries my friend. Good luck with your business! I really like your site btw.

    @nfiori you're welcome

    @all if DukaPress works for you and you like it, please consider rating us on WordPress: http://wordpress.org/extend/plugins/dukapress/

    Thanks!

  4. daveyc
    Member
    Posted 3 years ago #

    OK, I promise this will be the last harassing question I'll ask because the site is nearly done. Just need to add the actual products.

    The add to cart button just carries on spinning when I press add to cart. Is this something anyone has encountered? How can I solve it?

  5. Parshwa Nemi Jain
    Member
    Posted 3 years ago #

    @daveyc: If you can give me your site url i will see what is going wrong with Add to Cart button. It should not keep spinning.

  6. gopalb123
    Member
    Posted 3 years ago #

    Hi...
    I want add .swf file in dukapress. I can add images as product but can't add swf file.
    any body can help me...

  7. moshthepitt
    Member
    Posted 3 years ago #

    What happens when you just add the code to display it in the post body?

  8. darkiro
    Member
    Posted 3 years ago #

    Regarding http://evofarm.ro/category/afectiuni-ale-sistemului-nervos/ or any other category page of my site - how can I insert add to cart button and price under each product/post ( in the archive/category page ) - this can be done by editing archive.php - but I do not know where exactly. Please help and I will be very greatful. Thank you, Daniel.

    Code of archive.php ( part of magazine basic theme )

    [Code moderated as per the Forum Rules. Please use the pastebin]

  9. moshthepitt
    Member
    Posted 3 years ago #

    Try add this code:
    <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts(array(
    'post_type' => 'duka', // custom post type
    'paged'=>$paged,
    ));
    ?>

    Just before the loop i.e. just before <?php while (have_posts()) : the_post(); ?>

    Alternatively, wait for WordPress 3.1 - it shows custom post types on archive pages without need to modify files this way. :)

  10. darkiro
    Member
    Posted 3 years ago #

    Added just before the loop but now nothing is displayed after edit.
    Excerpt from new archive.php

    [Code moderated as per the Forum Rules. Please use the pastebin]

    So, after this mod there is no list, nothing is displayed ( not even an error; my sidebars and anything else is still in place though )

    Any thoughts ?
    And thanks for the speedy reply!

    Good day tot you,
    Daniel

    P.S. I can't wait for WP 3.1

  11. darkiro
    Member
    Posted 3 years ago #

    Nevermind that. All fixed. Another question

    How can I Translate or change via code "Pending Canceled and Paid"
    ( at least in the [dp order log] for the user - I know it is in dp-cart.php line 1306 in version 2.1 but nothing works)

    It's giving me a headache.

    Thanks

  12. moshthepitt
    Member
    Posted 3 years ago #

    Look at dukapress.php Lines 584 - 592. You need to change all the instances of the words "Pending" "Paid" and "Cancelled"

    Even after you change, you will not immediately see the changes in the order log - you need to actually change the order status inside the order log to see the new changes.

  13. VanillaSky7
    Member
    Posted 3 years ago #

    Hello Steve,

    I can not get images shown with the product..

    Previously I had sample data shown perfectly and then I updated permalink settings which broke all my links. Then I returned permalink settings to default, now products are displayed without the images.

    I also tried to create a new product and uploaded an image as it is described in Dukapress manual. It is also not shown on a page.

    Could you please help me resolve this?

    Thanks in advance!
    p.s.: it is a local installation so far

  14. rossiback
    Member
    Posted 2 years ago #

    Hello All,

    I am trying to copy and paste the followings php codes but where exactly in page templates to paste it i don't know. Meanwhile, i was able to edit the category.php but for page.php i appreciate if any can help me. thanks

    Use this to make the Checkout Page

    <?php echo (do_shortcode('[dpsc_checkout]')); ?>

    Use this to make the Thank You Page

    <?php echo (do_shortcode('[dpsc_thank_you_page]')); ?>

    Use either of these to display the product in a single page/post

    <?php echo (do_shortcode('[dpsc_display_product]')); ?> //shows "Add to Cart" button
    <?php echo (do_shortcode('[dpsc_display_product buy_now="yes"]')); ?>//shows "Buy Now"

    Use this shortcode to generate an order log

    <?php echo (do_shortcode('[dp_order_log]')); ?>

    Use this to display products in a Grid layout

    <?php echo (do_shortcode('[dpsc_grid_display]')); ?>

    [Please post code snippets between backticks or use the code button.]

Topic Closed

This topic has been closed to new replies.

About this Topic