AbanteCart Community

eCommerce construction => Templates => Topic started by: overmoz on July 13, 2023, 03:23:51 PM

Title: easy way to edit design and url for button "Call to order"
Post by: overmoz on July 13, 2023, 03:23:51 PM
hello everyone
in nutshell : i spent a week to find solution and purchased many extensions which is not really what i want.

so my question is : 1.how in easy way i can edit design (text, field etc) of contact us page  - this contact us page come when custom click on the button "Call to order" under each items

if there is visual edit code extenstion exist or hwat the file and where is path of this file i can find ou (index.php and everything php i cannt edit desing)

2. i d like to change url link of button "Call to ordr"  - refer it to whatsap link direct call
 Plz look at the attached files
plz advice me guys with all  my respect
Title: Re: easy way to edit design and url for button "Call to order"
Post by: Basara on July 14, 2023, 04:38:13 AM
Hello.

You need to edit theme .tpl files
public_html/storefront/view/default/template/pages/content/contact.tpl
 (https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default/template/pages/content/contact.tpl)

public_html/storefront/view/default/template/blocks/product_list.tpl#L70 (https://github.com/abantecart/abantecart-src/blob/3277cb8e238b589e4b63707276a8f69f250fa40e/public_html/storefront/view/default/template/blocks/product_list.tpl#L70)
Title: Re: easy way to edit design and url for button "Call to order"
Post by: overmoz on July 16, 2023, 06:16:10 AM
thanks for ur reply. in which program i can edit .tpl files?
regards
Title: Re: easy way to edit design and url for button "Call to order"
Post by: overmoz on July 16, 2023, 11:20:35 AM
or maybe easy u write down example of the code should be instead of L70?

many ppl asked this in the forum
Title: Re: easy way to edit design and url for button "Call to order"
Post by: Basara on July 17, 2023, 03:14:05 AM
thanks for ur reply. in which program i can edit .tpl files?
regards

You can edit in any text or code editor.
Title: Re: easy way to edit design and url for button "Call to order"
Post by: overmoz on July 17, 2023, 04:03:45 AM
hello guys anyone else (except basara) can share their experience about this issue plz or maybe any have extension am ready to buy it
regards
Title: Re: easy way to edit design and url for button "Call to order"
Post by: overmoz on July 19, 2023, 06:45:42 AM
ok i found the easiest way to edit contact us page text its throw setting - languages  - then just insert text i want ....

just small tips maybe someone need it
regards