This topic contains 21 reply and 3 voices, and was last updated by towhid 4 years, 2 months ago
Viewing 15 Posts - 1 through 15 (of 21 total)
Author Posts
July 1, 2015 at 5:03 pm 53940
towhid Hi, at the single product page i want to remove the add to cart function and place the name and the phone number of the seller.
July 2, 2015 at 12:05 pm 54011
towhid towhid

Hello Loukia,

Try this following code in plugins/woocommerce/templates/single-product/content-single-product.php and see what happen.

<?php 
		global $product;

		$author     = get_user_by( 'id', $product->post->post_author );
    	$store_info = dokan_get_store_info( $author->ID );
		if ( !empty( $store_info['store_name'] ) ) { ?>
                <span class="details">
                	<?php echo $store_info['price']; ?>
                	<?php echo $store_info['phone']; ?>
                    <?php printf( '<a href="%s">%s</a>', dokan_get_store_url( $author->ID ), $author->display_name ); ?>
                </span>
 		<?php } ?>

Thanks

July 3, 2015 at 11:22 am 54125
Loukia Loukia

Where exactly should i place this code in this page?

July 3, 2015 at 3:22 pm 54135
Loukia Loukia This reply has been marked as private.
July 4, 2015 at 2:11 pm 54223
towhid towhid

Hello Loukia,

Try that code in plugins/woocommerce/templates/single-product/content-single-product.php and let me know the result.

Thanks

July 5, 2015 at 9:59 pm 54357
Loukia Loukia

i add this code is working but the position of the new information is not aligned with the other data.
also instead of name of the shop i want to place the name of the seller. the add to cart button is still there. which is the code which i have to delete and get rid of it?

here is the screen shot: http://s27.postimg.org/xn5wn0f2r/2015_07_03_12_18_09.png

July 6, 2015 at 1:20 pm 54420
towhid towhid

Hello Loukia,

Please provide your login details by using this form: http://wedevs.com/provide-login-details/. I will have a look what is going wrong.

Thank you 🙂

July 8, 2015 at 9:09 am 54683
towhid towhid

Hello Loukia,

I also need the FTP login details.

Thanks

July 8, 2015 at 12:28 pm 54724
Loukia Loukia

please check it. i provide the FTP login details to you

July 8, 2015 at 3:05 pm 54761
towhid towhid

Hello Loukia,

I can not access your site on my browser. Can you please check and let me know.

Thanks

July 14, 2015 at 12:31 pm 55617
Loukia Loukia

did you get the new FTP details i gave you?

July 14, 2015 at 2:16 pm 55658
towhid towhid

Hello Loukia,

I received the all the details you have provided to me. But I have mentioned in my last post that I did not see the site in my browser. Please check the following screenshot.

Site Error

Thanks

July 15, 2015 at 11:32 am 55836
Loukia Loukia This reply has been marked as private.
July 16, 2015 at 3:40 pm 56014
Loukia Loukia

???????

July 17, 2015 at 10:39 am 56105
Nayem Nayem

Hello,

I am really sorry for being late. Due to EID vacation our support is little bit slow. Our office will start from 26th July. After opening our office our support will be fast.

I have checked a product of your site but i did not see the new line which you have added.

July 20, 2015 at 3:26 pm 56365
Loukia Loukia

i removed the code because is not working properly. That’s why you can’t see it

Viewing 15 Posts - 1 through 15 (of 21 total)