How can I change the link add to cart button?

  • post98
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
10 years 9 months ago #37695 by post98
hi

When I'd click on the "add to cart" button for the address to point to "Google."

I do not want to address the point "virtuemart"

What should I do?

Thank you.

Please Log in to join the conversation.

More
10 years 9 months ago #37696 by ivan.milic
please explain better????????????

Please Log in to join the conversation.

  • post98
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
10 years 9 months ago - 10 years 9 months ago #37698 by post98
When i click on the "add to cart" (button) , i want it to be directed to my own products page ,which i've created it with Gallery Component ,it goes to virtuemart while, as i said it should be directed to my own product page

(components/com_virtuemart/views/productdetails/tmpl/default_addtocart.php)

Code:
<span class="addtocart-button"> <?php echo shopFunctionsF::getAddToCartButton ($this->product->orderable); // Display the add to cart button END ?> something similar to that. <a href="yourwebsite.com/thelinkyouwanthere.php">Buy Product</a> <span class="addtocart-button"> <a href="yourwebsite.com/thelinkyouwanthere.php">Buy Product</a> </span>

But my problem is that the address is different for each product with other products


Thank you
Last edit: 10 years 9 months ago by post98.

Please Log in to join the conversation.

More
10 years 9 months ago #37700 by ivan.milic
can we see site?

Please Log in to join the conversation.

  • post98
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
10 years 9 months ago #37701 by post98

Please Log in to join the conversation.

More
10 years 9 months ago #37702 by ivan.milic
Check under :

\templates\hot_watches\html\com_virtuemart\productdetails\

Please Log in to join the conversation.

Time to create page: 0.298 seconds
Powered by Kunena Forum