• Hi

    I am looking for php files that affect the shopping cart page. I am using Avada child theme.

    I would like to modify the “Calculate shipping costs” part of the page that ask’s for country, county and postal code. We ship only in one country and county don’t matter so i would like it to ask only the postal code. I would also like to add some instructions for the shipping cost calculations. I found shipping-calculator.php from /woocommerce/cart/ but it don’t seem have any effect to shopping cart page.

    I am also looking for php file that places cross-sell products to the shopping cart page. At the moment, if some product in shopping cart has cross-sell products set, shopping cart page show’s cross-sell products, shipping calculator and shopping cart totals in 1/3 part of of a page. I would like to change the cross-sell products part below shopping cart items section as 1/1 part of the page between ‘shopping cart items’ and ‘shipping calculator/shopping cart totals’ -parts. But which php files do I need to modify?

    https://www.ads-software.com/plugins/woocommerce/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter donglejungle

    (@donglejungle)

    I am not master of php but I usually find those php files that i need to modify, take some parts off or maybe add some html content but now I am just lost. I can’t just can’t find the effecting php files. i have done a lot of inspecting and searching and I can find a lot of other files that seem to effect the shopping cart page but not for the parts I am looking for..

    Background info: I use latest WP, Woocommerce and I have latest Avada theme. I also use Avada Child theme. Avada Child Theme is the place I store my overriding woocommerce php files.

    If I modify /wp-content/themes/Avada-child-theme/woocommerce/cart/cart.php file so that I change <td class=”product-name”> row content to <td class=”product-name2″>, refresh the shopping cart page and inspect that element, I can see the change in the html code.

    But, if I include shipping-calculator.php in to the same /wp-content/themes/Avada-child-theme/woocommerce/cart/ -folder, any of the content changes of this file don’t seem to have any effect to the shopping cart page no matter what i change from the file or from what folder (plugin folder, Avada main theme folder) I take the file and modify it.

    I’m a bit lost here and would appreciate any help!

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    See docs.woothemes.com/document/template-structure/ You only need to override the calculator template file.

    Thread Starter donglejungle

    (@donglejungle)

    I have tried to modify the /woocommerce/cart/shipping-calculator.php file but it dont seem to have any effect to the store. I can see that file overrided at woocommerce system state page at my child theme but even if I clear the whole file, or do any modifications to it, I can not see any changes to the store. If I modify /woocommerce/cart/cart.php file under the same child theme, I can see the changes…

    Is there any plugin or something that would let me modify the shopping cart page?

    What I would like to accomplish is to get “You might be interested..” part, “calculate shipping costs” part and “cart total” part to be on top of each other instead of being at 1/3 columns.

    Or can you point out to some developer who could do this for me?

    Thread Starter donglejungle

    (@donglejungle)

    Can I use Gravity Forms and Woocommerce Gravity Forms add-in to accomplish what I am looking for?

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    Maybe your theme has its own calculator with its own template..?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Looking for php files affecting shopping cart page’ is closed to new replies.