Access our premium support and let us know your problems, we will help you solve them.

0
No products in the cart.

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: WooCommerce: Add product to cart with price override? #10016
    blanksark
    Participant

    To make it dynamic ( override price for each item in cart separately ), you need to save the override product price in session with cart item key as session key using woocommerce_add_to_cart hook.

    by using these session values you can calculate correct Cart Total and make the altered price appear in the Order Item as well

    in reply to: Overcome limit of 50 in for loop in shopify #9599
    blanksark
    Participant

    No, you cannot overcome it, You can query up to 50 product per page, Shopify won’t allow more than 50 products, in order to maintain server load balance.

    quote from shopify documentation : http://docs.shopify.com/manual/configuration/store-customization/page-specific/collections/add-view-all-to-collection-pages

    Don’t ever paginate a collection by more than 50, that’s how many products maximum you should query per page. Be respectful of Shopify’s app servers. If you are not using any paginate tags, pagination does kick in behind the scene and you will only receive the first 50 products in said collection.

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