News:

Support the VirtueMart project and become a member

Main Menu

Bad link in invoice

Started by chbrandt, August 30, 2016, 00:34:27 AM

Previous topic - Next topic

chbrandt

Hello--

I'm having some issues with a link in my invoice. I ran a test order and when I received the customer invoice, it had a link to the product then was purchased.  When I clicked on that link, it opened a product page embedded within the modules that I have selected for my main home page of the website.  I asked a technical support person who made the template and they indicated that it's because the page linked from the invoice is not included in a menu, so the home page is selected by default by Joomla.  The order confirmation worked fine, displaying the menu headers and footers that I want with the content in-between, but this invoice link looks very strange.  Here is how it opens from the invoice:

http://bit.ly/2bwB4gA

I have checked to make sure that the modules included on that page are not assigned to any pages other than the home page, but they are still showing up here.  Any ideas on how to fix this? I didn't like the idea of not sending an invoice at all, as this seems to not send a confirmation email upon purchase, and that's not a good idea for us.

Thanks


GJC Web Design

what menu has Itemid=713 ? the home page?

for debug and testing switch off SEF so u can see whats going on
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

chbrandt

Sorry.

Joomla Version: Joomla! 3.4.3 Stable
Joomla Platform Version: Joomla Platform 13.1.0 Stable
PHP Version: 5.3.29
VirtueMart Version: VirtueMart 3.0.9

My home menu item is ID 101. I've attached a screen shot of my VirtueMart 'Store' menu item.  Any help is greatly appreciated.  Thanks

GJC Web Design

why are u using out of date and unsafe versions?

Joomla Version: Joomla! 3.4.3 Stable -> J3.6.2

VirtueMart Version: VirtueMart 3.0.9 -> VM3.0.16
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

chbrandt

I can talk to those who are in charge of the versioning but I don't think that's related to the problem we're having.  Any ideas on how to fix the issue we're having without completely disabling the invoice and the associated email that goes out with it?

Thanks
Chris

GJC Web Design

Well, as your VM is now 7 stable releases old that's where i would start...

and again

Quotewhat menu has Itemid=713 ?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

chbrandt

Hi--

Maybe I'm looking in all the wrong places, but I can't find ANY menu with an Itemid=713.  :( 

I'm also working on getting it updated. Thank you!

Chris

GJC Web Design

but thats what Joomla is detecting as the VM itemid

index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=27&virtuemart_product_id=136&Itemid=713

check trashed etc menus

switch off sef while trying to debug this
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

chbrandt

I went to Menus > All Menu Items and sorted by ID and there's nothing for 713.  I also filtered on Trashed, nothing.  I just want the invoice link to work similar to the page immediately following a successful order, where it shows the menu, header and footer, and not the entire homepage and I'm not sure what else to try.

Chris

GJC Web Design

but the fact is the url u are showing as as being sent in the invoice is http://askc.org/galacticos/index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=27&virtuemart_product_id=136&Itemid=713

so Itemid=713 is the problem

with sef on we have no idea what the actual itemids are .. e.g.  http://askc.org/galacticos/index.php/shop

if u use that Itemid on the prod detail are the correct modules shown?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

chbrandt

Alright, I've switched SEF off and had Joomla and VM updated to the current versions.  Now, not only is the invoice link using the modules for the home page, but so is the cart when you use the Show Cart link after adding an item to the cart.  Also, if you click the Cart widget at the top of any page OTHER than the store and click Show Cart, it shows the page with the wrong modules.  Our tech support with the company that made the template helped us get the store installed initially and I'm wondering if something didn't get messed up during the process. 

This link is how it should look:  http://askc.org/galacticos/index.php?option=com_virtuemart&view=cart&Itemid=408

This is what you get on some pages when clicking Cart:  http://askc.org/galacticos/index.php?option=com_virtuemart&view=cart

Sorry for so many replies trying to get this worked out.

Chris

GJC Web Design

switching of SEF was an aid to troubleshoot why the invoice has Itemid=713 on prod details as you say this doesn't exist

why are you now talking about the cart etc?

this needs some proper investigation of the files if u say Itemid=713 doesn't exist
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

chbrandt

I brought up the cart because, after updating per suggestions here, my initial problem with the invoice link (modules showing that I don't want showing) has now also been extended to the cart.  I am by no means an advanced Joomla or Virtuemart user but I don't know what's happened or why this is so difficult.  Unfortunately I'm not sure I have any other option than to scrap the store from the site until I can find another solution since we can't launch with these issues and I clearly can't fix them.  I appreciate the assistance.

Chris

GJC Web Design

wouldn't it be far easier to employ someone who knows what they are doing?  Do you also fix the washing machine, car, TV and do a bit of medical work on the kids as well?..   ;)

There is ONLY a problem with the invoice link and that needs investigating where the wrong Itemid comes from.. this is unique to your site.. no one else has this problem
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation